mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-06 07:57:42 +02:00
Change App badge handling
Replace the missed notications count with the missed discussions count.
This commit is contained in:
@@ -764,7 +764,7 @@ NSString *const kAppDelegateDidTapStatusBarNotification = @"kAppDelegateDidTapSt
|
||||
|
||||
- (void)refreshApplicationIconBadgeNumber
|
||||
{
|
||||
NSUInteger count = [MXKRoomDataSourceManager notificationCount];
|
||||
NSUInteger count = [MXKRoomDataSourceManager missedDiscussionsCount];
|
||||
NSLog(@"[AppDelegate] refreshApplicationIconBadgeNumber: %tu", count);
|
||||
|
||||
[UIApplication sharedApplication].applicationIconBadgeNumber = count;
|
||||
|
||||
Reference in New Issue
Block a user