From 8d567540ef1761cc095f4d7162fd2eb1b94320bd Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 2 Mar 2022 11:43:18 +0000 Subject: [PATCH] Fix emptyView never being shown in RecentsViewController. --- Riot/Modules/Common/Recents/RecentsViewController.m | 5 +---- changelog.d/5727.bugfix | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 changelog.d/5727.bugfix diff --git a/Riot/Modules/Common/Recents/RecentsViewController.m b/Riot/Modules/Common/Recents/RecentsViewController.m index 694773f92e..6f6254f8c1 100644 --- a/Riot/Modules/Common/Recents/RecentsViewController.m +++ b/Riot/Modules/Common/Recents/RecentsViewController.m @@ -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) { diff --git a/changelog.d/5727.bugfix b/changelog.d/5727.bugfix new file mode 100644 index 0000000000..625683a5d1 --- /dev/null +++ b/changelog.d/5727.bugfix @@ -0,0 +1 @@ +Room lists: Show the getting started hints again when there are no rooms in a tab.