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