Make badge count accurate
Previously it would reset when refreshing the inbox. Now it tracks changes to conversation unreadCounts. Fixes #200
This commit is contained in:
parent
c4ae7a21d8
commit
6509561795
2 changed files with 13 additions and 2 deletions
|
@ -23,7 +23,5 @@
|
|||
window.location = '/options.html';
|
||||
} else {
|
||||
new bg.Whisper.InboxView().$el.prependTo(bg.$('body',document));
|
||||
bg.textsecure.storage.putUnencrypted("unreadCount", 0);
|
||||
extension.navigator.setBadgeText("");
|
||||
}
|
||||
}());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue