mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
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:
+4
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user