@@ -106,7 +106,7 @@ function showMessageRouter(msg, persist, explicitDestnation) {
106106 ////var active; // active screen (undefined/"list"/"music"/"map"/"overview"/"scroller"/"settings")
107107 //if (active==undefined) { } else if (active=="list") ... //and so on.
108108
109- if ( persist ) { cancelReloadTimeout ( ) }
109+ if ( persist ) { cancelReloadTimeout ( ) ; }
110110
111111 if ( msg . id == "music" ) {
112112 cancelReloadTimeout ( ) ; // don't auto-reload to clock now
@@ -300,7 +300,7 @@ function showMessagesScroller(msg, persist) {
300300 let allLines = [ ] ;
301301 let firstTitleLinePerMsg = [ ] ;
302302 for ( let i = 0 ; i < MESSAGES . length ; i ++ ) {
303- if ( MSG_IDX === i ) { initScroll = allLines . length * FONT_HEIGHT }
303+ if ( MSG_IDX === i ) { initScroll = allLines . length * FONT_HEIGHT ; }
304304 let msgIter = MESSAGES [ i ] ;
305305
306306 var lines = [ ] ;
@@ -320,7 +320,7 @@ function showMessagesScroller(msg, persist) {
320320 returnToClockIfEmpty ( ) ;
321321 }
322322
323- let shownScrollIdxFirst = allLines . length
323+ let shownScrollIdxFirst = allLines . length ;
324324 let shownScrollIdxLast = 0 ;
325325
326326 E . showScroller ( {
@@ -342,7 +342,7 @@ function showMessagesScroller(msg, persist) {
342342 for ( let i = firstTitleLinePerMsg . length - 1 ; i >= 0 ; i -- ) {
343343 if ( scrollIdx >= firstTitleLinePerMsg [ i ] ) {
344344 if ( ! touch || touch . type === 0 ) {
345- showMessageRouter ( MESSAGES [ i ] , true , "overview" )
345+ showMessageRouter ( MESSAGES [ i ] , true , "overview" ) ;
346346 } else if ( touch . type == 2 ) {
347347 showMessageSettings ( MESSAGES [ i ] ) ;
348348 }
@@ -363,7 +363,7 @@ function showMessagesScroller(msg, persist) {
363363 if ( "messagegui.new.js" === global . __FILE__ ) { return load ( ) ; }
364364 Bangle . emit ( "touch" , 1 , { x :APP_RECT . x2 / 2 , y :APP_RECT . y2 / 2 , type :0 } ) ;
365365 } , 0 ) ;
366- } , BTN )
366+ } , BTN ) ;
367367 }
368368
369369 function updateReadMessages ( ) {
0 commit comments