Fix for getting double of alarmTimeagoWarnMins
This commit is contained in:
parent
1dd9086924
commit
122efb1b8e
|
@ -189,8 +189,7 @@ public class NSSettingsStatus {
|
|||
}
|
||||
}
|
||||
if (settingsO.has("alarmTimeagoWarnMins") && what == "alarmTimeagoWarnMins"){
|
||||
JSONObject tObject = settingsO.getJSONObject("alarmTimeagoWarnMins");
|
||||
Double result = tObject.getDouble(what);
|
||||
Double result = settingsO.getDouble(what);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue