Matrix Clock BUGFIX: typo in settings panel

pull/2035/head
lu713691 2022-07-06 16:44:51 +01:00
parent c8059ce006
commit 98a1abb180
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
const Locale = require('locale');
const PREFERENCE_FILE = "matrixclock.settings.json";
const settings = Object.assign({'color': 'theme'},
const settings = Object.assign({color: "theme"},
require('Storage').readJSON(PREFERENCE_FILE, true) || {});
const colors = {

View File

@ -1,6 +1,6 @@
(function(back) {
const PREFERENCE_FILE = "matrixclock.settings.json";
var settings = Object.assign({color_scheme : "theme"},
var settings = Object.assign({color : "theme"},
require('Storage').readJSON(PREFERENCE_FILE, true) || {});
console.log("loaded:" + JSON.stringify(settings));