Fix for getting double of alarmTimeagoWarnMins

This commit is contained in:
RoumenGeorgiev 2017-08-07 20:06:15 +03:00 committed by GitHub
parent 1dd9086924
commit 122efb1b8e

View file

@ -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;
}
}