Update app.js

pull/1374/head
xxDUxx 2022-01-31 21:00:16 +01:00 committed by GitHub
parent b371c386f3
commit 288ce5d4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3,9 +3,9 @@ var drawTimeout;
var fontName="";
var settings = require('Storage').readJSON("contourclock.json", true) || {};
if (settings.fontIndex==undefined) {
settings.fontIndex=0;
require('Storage').writeJSON("myapp.json", settings);
}
settings.fontIndex=0;
require('Storage').writeJSON("myapp.json", settings);
}
require("FontTeletext10x18Ascii").add(Graphics);
function queueDraw() {