Fix tab bar badges on section-only updates

This commit is contained in:
ismailgulek
2022-01-25 03:22:56 +03:00
parent 76a1722624
commit 8836d6d0cf
@@ -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)
{