@@ -106,7 +106,7 @@ function showMessageRouter(msg, persist, explicitDestnation) {
106
106
////var active; // active screen (undefined/"list"/"music"/"map"/"overview"/"scroller"/"settings")
107
107
//if (active==undefined) { } else if (active=="list") ... //and so on.
108
108
109
- if ( persist ) { cancelReloadTimeout ( ) }
109
+ if ( persist ) { cancelReloadTimeout ( ) ; }
110
110
111
111
if ( msg . id == "music" ) {
112
112
cancelReloadTimeout ( ) ; // don't auto-reload to clock now
@@ -300,7 +300,7 @@ function showMessagesScroller(msg, persist) {
300
300
let allLines = [ ] ;
301
301
let firstTitleLinePerMsg = [ ] ;
302
302
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 ; }
304
304
let msgIter = MESSAGES [ i ] ;
305
305
306
306
var lines = [ ] ;
@@ -320,7 +320,7 @@ function showMessagesScroller(msg, persist) {
320
320
returnToClockIfEmpty ( ) ;
321
321
}
322
322
323
- let shownScrollIdxFirst = allLines . length
323
+ let shownScrollIdxFirst = allLines . length ;
324
324
let shownScrollIdxLast = 0 ;
325
325
326
326
E . showScroller ( {
@@ -342,7 +342,7 @@ function showMessagesScroller(msg, persist) {
342
342
for ( let i = firstTitleLinePerMsg . length - 1 ; i >= 0 ; i -- ) {
343
343
if ( scrollIdx >= firstTitleLinePerMsg [ i ] ) {
344
344
if ( ! touch || touch . type === 0 ) {
345
- showMessageRouter ( MESSAGES [ i ] , true , "overview" )
345
+ showMessageRouter ( MESSAGES [ i ] , true , "overview" ) ;
346
346
} else if ( touch . type == 2 ) {
347
347
showMessageSettings ( MESSAGES [ i ] ) ;
348
348
}
@@ -363,7 +363,7 @@ function showMessagesScroller(msg, persist) {
363
363
if ( "messagegui.new.js" === global . __FILE__ ) { return load ( ) ; }
364
364
Bangle . emit ( "touch" , 1 , { x :APP_RECT . x2 / 2 , y :APP_RECT . y2 / 2 , type :0 } ) ;
365
365
} , 0 ) ;
366
- } , BTN )
366
+ } , BTN ) ;
367
367
}
368
368
369
369
function updateReadMessages ( ) {
0 commit comments