Merge pull request #370 from MilosKozak/AdrianLxM-patch-2

Check for tempbasal not RealTempbasal
This commit is contained in:
Milos Kozak 2017-08-17 08:13:53 +02:00 committed by GitHub
commit f2755e0ae7

View file

@ -215,7 +215,7 @@ public class ActionsFragment extends SubscriberFragment implements View.OnClickL
}
break;
case R.id.actions_canceltempbasal:
if (MainApp.getConfigBuilder().isInHistoryRealTempBasalInProgress()) {
if (MainApp.getConfigBuilder().isTempBasalInProgress()) {
sHandler.post(new Runnable() {
@Override
public void run() {