Fix tab bar badges on section-only updates

This commit is contained in:
ismailgulek
2022-01-25 03:22:56 +03:00
parent d63fee969e
commit 244321ba05
@@ -1025,6 +1025,12 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
{
[super dataSource:dataSource didCellChange:changes];
}
else
{
// Since we've enabled room list pagination, `refreshRecentsTable` not called in this case.
// Refresh tab bar badges separately.
[[AppDelegate theDelegate].masterTabBarController refreshTabBarBadges];
}
if (changes == nil)
{