forked from FOSS/BangleApps
hworldclock 0.37: Fix settings (show default as '90' not 'off')
parent
13e8c368bd
commit
6c050b5107
|
@ -21,3 +21,4 @@
|
|||
0.34: Fix 'fast load' so clock doesn't always redraw when screen unlocked/locked
|
||||
0.35: Minor code improvements
|
||||
0.36: Minor code improvements
|
||||
0.37: Fix settings (show default as '90' not 'off')
|
|
@ -2,7 +2,7 @@
|
|||
"id": "hworldclock",
|
||||
"name": "Hanks World Clock",
|
||||
"shortName": "Hanks World Clock",
|
||||
"version": "0.36",
|
||||
"version": "0.37",
|
||||
"description": "Current time zone plus up to three others",
|
||||
"allow_emulator":true,
|
||||
"icon": "app.png",
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
var FILE = "hworldclock.json";
|
||||
var settings = Object.assign({
|
||||
secondsOnUnlock: false,
|
||||
rotationTarget: "90",
|
||||
}, require('Storage').readJSON(FILE, true) || {});
|
||||
|
||||
function writeSettings() {
|
||||
|
@ -55,4 +56,4 @@
|
|||
|
||||
E.showMenu(mainmenu);
|
||||
|
||||
});
|
||||
})
|
Loading…
Reference in New Issue