Skip to content

Commit

Permalink
Merge pull request #5728 from vector-im/doug/5727_empty_room_lists
Browse files Browse the repository at this point in the history
Fix emptyView never being shown in RecentsViewController.
  • Loading branch information
pixlwave authored Mar 2, 2022
2 parents e3d5550 + 8d56754 commit c055a9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions Riot/Modules/Common/Recents/RecentsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1059,10 +1059,7 @@ - (void)dataSource:(MXKDataSource *)dataSource didCellChange:(id)changes
[[AppDelegate theDelegate].masterTabBarController refreshTabBarBadges];
}

if (changes == nil)
{
[self showEmptyViewIfNeeded];
}
[self showEmptyViewIfNeeded];

if (dataSource.state == MXKDataSourceStateReady)
{
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5727.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Room lists: Show the getting started hints again when there are no rooms in a tab.

0 comments on commit c055a9d

Please sign in to comment.