RoomDirectory : address pr reviews
This commit is contained in:
parent
856a897018
commit
5e4eed68b5
6 changed files with 6 additions and 8 deletions
|
|
@ -67,10 +67,10 @@ class RoomDirectoryPresenter @Inject constructor(
|
|||
}
|
||||
LaunchedEffect(searchQuery) {
|
||||
if (searchQuery == null) return@LaunchedEffect
|
||||
// debounce search query
|
||||
delay(300)
|
||||
// cancel load more right away
|
||||
loadingMore = false
|
||||
// debounce search query
|
||||
delay(300)
|
||||
roomDirectoryList.filter(searchQuery, 20)
|
||||
}
|
||||
LaunchedEffect(loadingMore) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue