Update app.js

pull/1886/head
pidajo 2022-05-26 18:33:19 +02:00 committed by GitHub
parent 2f1342eebc
commit e672b523c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@
}
setInterval(function() {
WIDGETS["widdateday"].draw(WIDGETS["widdateday"]);
WIDGETS["widday"].draw(WIDGETS["widdateday"]);
}, 10*60000); // update every 10 minutes
// add your widget
WIDGETS["widdateday"]={
WIDGETS["widday"]={
area:"bl", // tl (top left), tr (top right), bl (bottom left), br (bottom right)
width: width, // how wide is the widget? You can change this and call Bangle.drawWidgets() to re-layout
draw:draw // called to draw the widget