Merge pull request #977 from MilosKozak/persistent-text
show bg missing not no profile
This commit is contained in:
commit
a64bfe7a39
|
@ -94,7 +94,7 @@ public class PersistentNotificationPlugin extends PluginBase {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String line1 = MainApp.gs(R.string.noprofile);
|
String line1 = "";
|
||||||
|
|
||||||
if (MainApp.getConfigBuilder().getActiveProfileInterface() == null || !MainApp.getConfigBuilder().isProfileValid("Notificiation"))
|
if (MainApp.getConfigBuilder().getActiveProfileInterface() == null || !MainApp.getConfigBuilder().isProfileValid("Notificiation"))
|
||||||
return;
|
return;
|
||||||
|
@ -114,6 +114,8 @@ public class PersistentNotificationPlugin extends PluginBase {
|
||||||
MainApp.gs(R.string.old_data) +
|
MainApp.gs(R.string.old_data) +
|
||||||
" ";
|
" ";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
line1 = MainApp.gs(R.string.missed_bg_readings);
|
||||||
}
|
}
|
||||||
|
|
||||||
TemporaryBasal activeTemp = TreatmentsPlugin.getPlugin().getTempBasalFromHistory(System.currentTimeMillis());
|
TemporaryBasal activeTemp = TreatmentsPlugin.getPlugin().getTempBasalFromHistory(System.currentTimeMillis());
|
||||||
|
|
Loading…
Reference in a new issue