Fix issue 4600 that search results sometimes are not displayed properly

This commit is contained in:
ariskotsomitopoulos 2021-12-01 13:04:20 +00:00
parent 2e52f429fb
commit 7fedcbb998
2 changed files with 1 additions and 4 deletions

1
changelog.d/4600.misc Normal file
View file

@ -0,0 +1 @@
At the very first room search after opening the app sometimes no results are displayed

View file

@ -54,10 +54,6 @@ class SearchResultController @Inject constructor(
fun loadMore() fun loadMore()
} }
init {
setData(null)
}
override fun buildModels(data: SearchViewState?) { override fun buildModels(data: SearchViewState?) {
data ?: return data ?: return