pull/3560/head
Martin Pool 2024-09-03 23:17:01 +02:00
parent 4bca60e070
commit 2cb7ed6f9f
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ const SETTINGS_FILE = "dutchclock.json";
// Load settings // Load settings
const settings = Object.assign( const settings = Object.assign(
storage.readJSON(DEFAULTS_FILE, true)?.settings || {}, storage.readJSON(DEFAULTS_FILE, true) || {},
storage.readJSON(SETTINGS_FILE, true) || {} storage.readJSON(SETTINGS_FILE, true) || {}
); );

View File

@ -3,7 +3,7 @@
"name": "Dutch Clock", "name": "Dutch Clock",
"shortName":"Dutch Clock", "shortName":"Dutch Clock",
"icon": "app.png", "icon": "app.png",
"version":"0.02", "version":"0.03",
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.", "description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
"type": "clock", "type": "clock",
"tags": "clock,dutch,text", "tags": "clock,dutch,text",

View File

@ -10,7 +10,7 @@
// Load settings // Load settings
const settings = Object.assign( const settings = Object.assign(
storage.readJSON(DEFAULTS_FILE, true)?.settings || {}, storage.readJSON(DEFAULTS_FILE, true) || {},
storage.readJSON(SETTINGS_FILE, true) || {} storage.readJSON(SETTINGS_FILE, true) || {}
); );