mirror of https://github.com/espruino/BangleApps
Fix #968: messages app should not pop up with old messages
parent
456c4f4019
commit
cf604588bf
|
@ -27,7 +27,7 @@ E.on('ANCS',msg=>{
|
|||
var msg = Bangle.ancsMessageQueue[0];
|
||||
NRF.ancsGetNotificationInfo( msg.uid ).then( info => {
|
||||
|
||||
if(msg.preExisting){
|
||||
if(msg.preExisting === true){
|
||||
info.new = false;
|
||||
} else {
|
||||
info.new = true;
|
||||
|
|
Loading…
Reference in New Issue