NotificationStore: extract key string.
This commit is contained in:
parent
9bae22f551
commit
75bc2cd940
|
@ -57,7 +57,7 @@ public class NotificationStore {
|
|||
}
|
||||
}
|
||||
|
||||
if (SP.getBoolean("raise_urgent_alarms_as_android_notification", false)
|
||||
if (SP.getBoolean(MainApp.sResources.getString(R.string.key_raise_urgent_alarms_as_android_notification), false)
|
||||
&& n.level == Notification.URGENT) {
|
||||
raiseSystemNotification(n);
|
||||
} else if (n.soundId != null) {
|
||||
|
|
|
@ -777,7 +777,8 @@
|
|||
<string name="combo_action_idle">Idle</string>
|
||||
<string name="pump_unreachable">Pump unreachable</string>
|
||||
<string name="missed_bg_readings">Missed BG readings</string>
|
||||
<string name="raise_urgent_alarms_as_android_notification" translatable="false">Use system notifications for alerts</string>
|
||||
<string name="key_raise_urgent_alarms_as_android_notification" translatable="false">raise_urgent_alarms_as_android_notification</string>
|
||||
<string name="raise_urgent_alarms_as_android_notification">Use system notifications for alerts</string>
|
||||
<string name="key_enable_pump_unreachable_alert" translatable="false">enable_pump_unreachable_alert</string>
|
||||
<string name="key_enable_missed_bg_readings_alert" translatable="false">enable_missed_bg_readings</string>
|
||||
<string name="localalertsettings_title">Local alerts</string>
|
||||
|
|
Loading…
Reference in a new issue