Skip to content

Commit c731d6a

Browse files
author
thyttan
committed
messages/messagegui: auto-open "If locked" also opens on clocks
1 parent 5c48b32 commit c731d6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/messagegui/lib.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports.listener = function(type, msg) {
3737
const appSettings = require("Storage").readJSON("messages.settings.json", 1) || {};
3838
const autoOpen = appSettings.autoOpen ?? 1;
3939
let loadMessages = (
40-
(autoOpen === 1 && Bangle.CLOCK) || (autoOpen === 2 && Bangle.isLocked()) || autoOpen === 3 ||
40+
(autoOpen === 1 && Bangle.CLOCK) || (autoOpen === 2 && (Bangle.isLocked() || Bangle.CLOCK)) || autoOpen === 3 ||
4141
msg.important
4242
); // should we load the messages app?
4343
if (type==="music") {

apps/messages/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ There are several options to choose from:
6464
* **Auto-open new msg** : Should we open the messages app for new messages?
6565
* **Never** : Never open for new messages
6666
* **On clock** : Open if a clock face is showing (default)
67-
* **If locked** : Open if the screen is locked
67+
* **If locked** : Open if the screen is locked or clock face is showing
6868
* **Always** : Always open new messages
6969
* **Widget messages** : How many message icons should the widget show?
7070
* **Show Widgets** : Should widgets be shown when a message is being displayed (default of disabled leaves more room for the message text)

0 commit comments

Comments
 (0)