Skip to content

Commit

Permalink
hworldclock 0.37: Fix settings (show default as '90' not 'off')
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 28, 2024
1 parent 13e8c36 commit 6c050b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/hworldclock/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 1 addition & 1 deletion apps/hworldclock/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion apps/hworldclock/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
var FILE = "hworldclock.json";
var settings = Object.assign({
secondsOnUnlock: false,
rotationTarget: "90",
}, require('Storage').readJSON(FILE, true) || {});

function writeSettings() {
Expand Down Expand Up @@ -55,4 +56,4 @@

E.showMenu(mainmenu);

});
})

0 comments on commit 6c050b5

Please sign in to comment.