Merge pull request #1169 from t0m1o1/Base

Fix bug with debug info
master
Gordon Williams 2022-01-04 10:10:08 +00:00 committed by GitHub
commit 3add5ecf43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -167,7 +167,7 @@
{
"id": "setting",
"name": "Settings",
"version": "0.38",
"version": "0.39",
"description": "A menu for setting up Bangle.js",
"icon": "settings.png",
"tags": "tool,system",

View File

@ -41,3 +41,4 @@
0.36: Added 'Utils' menu with helpful utilities for restoring Bangle.js
0.37: Going into passkey menu now saves settings with passkey
0.38: Restructed menus as per forum discussion
0.39: Fix misbehaving debug info option

View File

@ -499,6 +499,8 @@ function showUtilMenu() {
'< Back': ()=>showMainMenu(),
'Debug Info': {
value: E.clip(0|settings.log,0,2),
min: 0,
max: 2,
format: v => ["Hide","Show","Log"][E.clip(0|v,0,2)],
onchange: v => {
settings.log = v;