File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 7070 E . showMenu ( {
7171 "" : { "title" : "Phone Reminder" } ,
7272 "< Back" : ( ) => back ( ) ,
73- 'Precision Lvl' : function ( ) {
73+ 'Check Delay' : {
74+ value : 0 | settings . timeDelay ,
75+ min : 0 , max : 600000 ,
76+ step :5000 ,
77+ onchange : v => {
78+ settings . timeDelay = v ;
79+ writeSettings ( ) ;
80+ } ,
81+ format : v => {
82+ return formatTime ( v )
83+ }
84+ } ,
85+ 'Precision Level' : function ( ) {
7486 showPrecisionMenu ( showMainMenu ) ;
7587
7688 // format: ... may be specified as a function which converts the value to a string
7789 // if the value is a boolean, showMenu() will convert this automatically, which
7890 // keeps settings menus consistent
7991 } ,
8092
93+
94+
8195 'Delete All Locations' : function ( ) {
8296 E . showPrompt ( "Are you sure you want to delete all familiar locations?" , { title :"Confirm" } )
8397 . then ( function ( v ) {
90104 }
91105 } ) ;
92106
93- } ,
94- 'Check Delay' : {
95- value : 0 | settings . timeDelay ,
96- min : 0 , max : 600000 ,
97- step :5000 ,
98- onchange : v => {
99- settings . timeDelay = v ;
100- writeSettings ( ) ;
101- } ,
102- format : v => {
103- return formatTime ( v )
104107 }
105- }
106108 } ) ;
107109 }
108110 showMainMenu ( )
You can’t perform that action at this time.
0 commit comments