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];
|
var msg = Bangle.ancsMessageQueue[0];
|
||||||
NRF.ancsGetNotificationInfo( msg.uid ).then( info => {
|
NRF.ancsGetNotificationInfo( msg.uid ).then( info => {
|
||||||
|
|
||||||
if(msg.preExisting){
|
if(msg.preExisting === true){
|
||||||
info.new = false;
|
info.new = false;
|
||||||
} else {
|
} else {
|
||||||
info.new = true;
|
info.new = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue