MINIMUM_BASAL_VALUE_REPLACED -> MAXIMUM_BASAL_VALUE_REPLACED

This commit is contained in:
TebbeUbben 2018-06-03 23:33:49 +02:00
parent f8c621dc6a
commit 9cf9da0d22
2 changed files with 2 additions and 1 deletions

View file

@ -248,7 +248,7 @@ public class Profile {
} }
protected void sendAboveMaximumNotification(String from) { protected void sendAboveMaximumNotification(String from) {
MainApp.bus().post(new EventNewNotification(new Notification(Notification.MINIMAL_BASAL_VALUE_REPLACED, String.format(MainApp.gs(R.string.maximumbasalvaluereplaced), from), Notification.NORMAL))); MainApp.bus().post(new EventNewNotification(new Notification(Notification.MAXIMUM_BASAL_VALUE_REPLACED, String.format(MainApp.gs(R.string.maximumbasalvaluereplaced), from), Notification.NORMAL)));
} }
private void validate(LongSparseArray array) { private void validate(LongSparseArray array) {

View file

@ -64,6 +64,7 @@ public class Notification {
public static final int PERMISSION_LOCATION = 36; public static final int PERMISSION_LOCATION = 36;
public static final int PERMISSION_BATTERY = 37; public static final int PERMISSION_BATTERY = 37;
public static final int PERMISSION_SMS = 38; public static final int PERMISSION_SMS = 38;
public static final int MAXIMUM_BASAL_VALUE_REPLACED = 39;
public int id; public int id;