Fiz ios related numeric view

revert-dabc3590
kamidu 8 years ago
parent af9c525594
commit cab7a8c2d6

@ -115,7 +115,7 @@ function onRequest(context) {
}
} else if (deviceType == "ios") {
viewModel["BatteryLevel"] = {};
viewModel["BatteryLevel"]["value"] = filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["BatteryLevel"];
viewModel["BatteryLevel"]["value"] = Math. round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["BatteryLevel"] * 1000) / 100;
viewModel["internalMemory"] = {};
viewModel["internalMemory"]["total"] = Math.

Loading…
Cancel
Save