forked from github/wulkanowy-mirror
parent
b61e63249c
commit
ec6d18968f
@ -185,7 +185,9 @@ class MessageTabPresenter @Inject constructor(
|
|||||||
.debounce(250)
|
.debounce(250)
|
||||||
.map { query ->
|
.map { query ->
|
||||||
lastSearchQuery = query
|
lastSearchQuery = query
|
||||||
getFilteredData(query)
|
val isOnlyUnread = view?.onlyUnread == true
|
||||||
|
val isOnlyWithAttachments = view?.onlyWithAttachments == true
|
||||||
|
getFilteredData(query, isOnlyUnread, isOnlyWithAttachments)
|
||||||
}
|
}
|
||||||
.catch { Timber.e(it) }
|
.catch { Timber.e(it) }
|
||||||
.collect {
|
.collect {
|
||||||
|
Loading…
Reference in New Issue
Block a user