mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-05 15:41:02 +00:00
Bug fixes
This commit is contained in:
parent
adbe66c860
commit
fa1734518d
6 changed files with 27 additions and 13 deletions
|
|
@ -547,9 +547,9 @@ public class NotificationsController {
|
|||
}
|
||||
if (old_unread_count != total_unread_count) {
|
||||
showOrUpdateNotification(notifyCheck);
|
||||
setBadge(ApplicationLoader.applicationContext, total_unread_count);
|
||||
notifyCheck = false;
|
||||
}
|
||||
setBadge(ApplicationLoader.applicationContext, total_unread_count);
|
||||
}
|
||||
|
||||
public void processLoadedUnreadMessages(HashMap<Long, Integer> dialogs) {
|
||||
|
|
@ -569,6 +569,7 @@ public class NotificationsController {
|
|||
dialogsToLoad += "" + dialog_id;
|
||||
}
|
||||
}
|
||||
setBadge(ApplicationLoader.applicationContext, total_unread_count);
|
||||
}
|
||||
|
||||
private void setBadge(Context context, int count) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue