File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1313 let launchApp = function ( trace ) {
1414 if ( ! settings ) settings = storage . readJSON ( "quicklaunch.json" , true ) || { } ;
1515
16- if ( settings [ trace + "app" ] . src ) {
17- if ( settings [ trace + "app" ] . name == "Show Launcher" ) Bangle . showLauncher ( ) ;
18- else if ( ! storage . read ( settings [ trace + "app" ] . src ) ) {
19- E . showMessage ( settings [ trace + "app" ] . src + "\n" + /*LANG*/ "was not found" + "." , "Quick Launch" ) ;
20- settings [ trace + "app" ] = { "name" :"(none)" } ; // reset entry.
21- storage . write ( "quicklaunch.json" , settings ) ;
22- setTimeout ( load , 2000 ) ;
23- } else load ( settings [ trace + "app" ] . src ) ;
16+ if ( settings [ trace + "app" ] . src ) {
17+ if ( settings [ trace + "app" ] . name == "Show Launcher" ) {
18+ Bangle . showLauncher ( ) ;
19+ } else if ( ! storage . read ( settings [ trace + "app" ] . src ) ) {
20+ E . showMessage ( settings [ trace + "app" ] . src + "\n" + /*LANG*/ "was not found" + "." , "Quick Launch" ) ;
21+ settings [ trace + "app" ] = { "name" :"(none)" } ; // reset entry.
22+ storage . write ( "quicklaunch.json" , settings ) ;
23+ setTimeout ( load , 2000 ) ;
24+ } else { load ( settings [ trace + "app" ] . src ) ; }
2425 }
2526 }
2627
You can’t perform that action at this time.
0 commit comments