File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1191190.87: Make choosing of font size more repeatable
1201200.88: Adjust padding calculation so messages are spaced out properly even when using international fonts
1211210.89: Fix bugs related to empty titles and bodies
122+ 0.90: Interrupt unread timeout if the user has unlocked the screen, resume on
123+ screen locked (fix #3941)
Original file line number Diff line number Diff line change @@ -646,8 +646,15 @@ setTimeout(() => {
646646} , 10 ) ; // if checkMessages wants to 'load', do that
647647
648648/* If the Bangle is unlocked by the user, treat that
649- as a queue to stop repeated buzzing */
649+ as a queue to stop repeated buzzing.
650+ Also suspend the reload timeout while the watch is unlocked. */
651+ let isTimeoutInterrupted ;
650652Bangle . on ( 'lock' , locked => {
651- if ( ! locked )
653+ if ( ! locked ) {
652654 require ( "messages" ) . stopBuzz ( ) ;
655+ isTimeoutInterrupted = ! ! unreadTimeout ;
656+ cancelReloadTimeout ( ) ;
657+ }
658+ if ( locked )
659+ if ( isTimeoutInterrupted ) resetReloadTimeout ( ) ;
653660} ) ;
Original file line number Diff line number Diff line change 22 "id" : " messagegui" ,
33 "name" : " Message UI" ,
44 "shortName" : " Messages" ,
5- "version" : " 0.89 " ,
5+ "version" : " 0.90 " ,
66 "description" : " Default app to display notifications from iOS and Gadgetbridge/Android" ,
77 "icon" : " app.png" ,
88 "type" : " app" ,
You can’t perform that action at this time.
0 commit comments