File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 66 // default values
77 showBatPercent : true ,
88 showTime : true ,
9- keepScreenOn : false ,
9+
1010
1111 } , require ( 'Storage' ) . readJSON ( FILE , true ) || { } ) ;
1212
3737 // format: ... may be specified as a function which converts the value to a string
3838 // if the value is a boolean, showMenu() will convert this automatically, which
3939 // keeps settings menus consistent
40- } ,
41- 'Keep Backlight On' : {
42- value : ! ! settings . keepScreenOn , // !! converts undefined to false
43- onchange : v => {
44- settings . keepScreenOn = v ;
45- writeSettings ( ) ;
46- }
47- // format: ... may be specified as a function which converts the value to a string
48- // if the value is a boolean, showMenu() will convert this automatically, which
49- // keeps settings menus consistent
50- } ,
40+ }
41+
5142
5243 } ) ;
5344} )
You can’t perform that action at this time.
0 commit comments