settings: update Quiet Mode widget (if present)

pull/784/head
Richard de Boer 2021-08-11 01:14:44 +02:00
parent b21d432cce
commit 1aeed274c3
3 changed files with 3 additions and 1 deletions

View File

@ -185,7 +185,7 @@
{ "id": "setting",
"name": "Settings",
"icon": "settings.png",
"version":"0.27",
"version":"0.28",
"description": "A menu for setting up Bangle.js",
"tags": "tool,system,b2",
"readme": "README.md",

View File

@ -30,3 +30,4 @@
0.25: Move boot.js code into 'boot' app itself
0.26: Use Bangle.softOff if available as this keeps the time
0.27: Add Theme menu
0.28: Update Quiet Mode widget (if present)

View File

@ -387,6 +387,7 @@ function showQuietModeMenu() {
settings.quiet = v%3;
updateSettings();
updateOptions();
if ("qmsched" in WIDGETS) {WIDGETS["qmsched"].draw();}
},
},
"LCD Brightness": {