Public room search tweaks (#2750)

- Remove the "Join" button.
- Hide the extra bottom separator.
- Show an empty search result.
- Fix a bug where we would paginate and search simultaneously.
This commit is contained in:
Doug
2024-04-29 10:01:48 +01:00
committed by GitHub
parent 7b2168a540
commit aaa8af2996
15 changed files with 48 additions and 41 deletions
@@ -93,6 +93,10 @@ class RoomDirectorySearchScreenViewModel: RoomDirectorySearchScreenViewModelType
title: L10n.screenRoomDirectorySearchLoadingError,
iconName: "xmark"))
}
// Add a small delay to allow the rooms to be published,
// otherwise you see the No Results text briefly.
try? await Task.sleep(for: .milliseconds(50))
state.isLoading = false
}
}