Skip to content

Commit d6d2d52

Browse files
author
thyttan
committed
messages: reign in out of range values for auto-open
1 parent c731d6a commit d6d2d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/messages/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
onchange: v => updateSetting("quietNoAutOpn", v)
8282
},
8383
/*LANG*/'Auto-open new msg': {
84-
value: settings.autoOpen,
84+
value: settings.autoOpen&3,
8585
min:0,max:3,step:1,
8686
format: v=>["Never","On clock","If locked","Always"][v],
8787
onchange: v => updateSetting("autoOpen", v)

0 commit comments

Comments
 (0)