From 0cc82f0fc41bbf52fe556d871a93460d14f57e6b Mon Sep 17 00:00:00 2001 From: Gil Eluard Date: Fri, 14 Oct 2022 17:24:01 +0200 Subject: [PATCH] All chats shows no rooms in the list - Fixed --- Riot/Modules/Home/AllChats/AllChatsViewController.swift | 2 +- changelog.d/6869.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/6869.bugfix diff --git a/Riot/Modules/Home/AllChats/AllChatsViewController.swift b/Riot/Modules/Home/AllChats/AllChatsViewController.swift index 1b26bfe81..de7504084 100644 --- a/Riot/Modules/Home/AllChats/AllChatsViewController.swift +++ b/Riot/Modules/Home/AllChats/AllChatsViewController.swift @@ -439,7 +439,7 @@ class AllChatsViewController: HomeViewController { } override func shouldShowEmptyView() -> Bool { - let shouldShowEmptyView = super.shouldShowEmptyView() + let shouldShowEmptyView = super.shouldShowEmptyView() && !AllChatsLayoutSettingsManager.shared.hasAnActiveFilter if shouldShowEmptyView { self.navigationItem.searchController = nil diff --git a/changelog.d/6869.bugfix b/changelog.d/6869.bugfix new file mode 100644 index 000000000..b789b9fd3 --- /dev/null +++ b/changelog.d/6869.bugfix @@ -0,0 +1 @@ +All chats shows no rooms in the list. \ No newline at end of file