diff options
-rw-r--r-- | Juick/AppDelegate.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index d33a0fb..65220ff 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -118,7 +118,7 @@ NSString * const UserUpdatedNotificationName = @"UserUpdated"; [discussions tabBarItem].badgeColor = [UIColor colorNamed:@"Funny"]; [discussions tabBarItem].badgeValue = [NSString stringWithFormat:@"%ld", user.unreadCount]; } else { - [discussions tabBarItem].badgeValue = @""; + [discussions tabBarItem].badgeValue = nil; } [[NSNotificationCenter defaultCenter] postNotificationName:UserUpdatedNotificationName object:user]; [[UNUserNotificationCenter currentNotificationCenter] getDeliveredNotificationsWithCompletionHandler:^(NSArray<UNNotification *> * _Nonnull notifications) { |