mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Public rooms search: Show the result cell even if the count is 0. This avoids blank screen
This commit is contained in:
@@ -526,11 +526,10 @@
|
||||
directorySection = favoritesSection = conversationSection = lowPrioritySection = invitesSection = -1;
|
||||
sectionsCount = 0;
|
||||
|
||||
// Manage the public room search results cell outside the recents
|
||||
// Manage the public room search results cell outside the recents.
|
||||
// Show the cell showing the public rooms directory search result
|
||||
// only in case of search
|
||||
if (publicRoomsDirectoryDataSource.filter
|
||||
&& (publicRoomsDirectoryDataSource.filteredRooms.count > 0 || publicRoomsDirectoryDataSource.state == MXKDataSourceStatePreparing))
|
||||
// once a search is active
|
||||
if (publicRoomsDirectoryDataSource.filter)
|
||||
{
|
||||
directorySection = sectionIndex;
|
||||
sectionIndex++;
|
||||
|
||||
Reference in New Issue
Block a user