From 8bcab947b0bde2a9b4f0ce104e5cd77d113e9bc9 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 694773f92..6f6254f8c 100644 --- a/Riot/Modules/Common/Recents/RecentsViewController.m +++ b/Riot/Modules/Common/Recents/RecentsViewController.m @@ -1059,10 +1059,7 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro [[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 000000000..625683a5d --- /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.