diff --git a/apps.json b/apps.json index fe0c80019..12b09f6d1 100644 --- a/apps.json +++ b/apps.json @@ -107,7 +107,7 @@ "name": "Fullscreen Notifications", "shortName":"Notifications", "icon": "notify.png", - "version":"0.09", + "version":"0.10", "description": "A handler for displaying notifications that displays them fullscreen. This may not fully restore the screen after on some apps. See `Notifications (default)` for more information about the notifications library.", "tags": "widget", "type": "notify", diff --git a/apps/notifyfs/ChangeLog b/apps/notifyfs/ChangeLog index 18adecb4f..ace651a0d 100644 --- a/apps/notifyfs/ChangeLog +++ b/apps/notifyfs/ChangeLog @@ -7,3 +7,4 @@ 0.07: Support background color 0.08: Don't turn on screen during Quiet Mode 0.09: Add onHide callback +0.10: Ensure dismissing a notification dismissal doesn't enter launcher if in clock mode diff --git a/apps/notifyfs/notify.js b/apps/notifyfs/notify.js index b6b8dc43b..cd8d108d5 100644 --- a/apps/notifyfs/notify.js +++ b/apps/notifyfs/notify.js @@ -127,7 +127,7 @@ exports.hide = function(options) { Bangle.setLCDPower(1); } // hack for E.showMenu/showAlert/showPrompt - can force a redraw by faking next/back - if (Bangle.btnWatches) { + if (!Bangle.CLOCK && Bangle.btnWatches && Bangle.btnWatches.length==3) { global["\xff"].watches[Bangle.btnWatches[0]].callback(); global["\xff"].watches[Bangle.btnWatches[1]].callback(); }