mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Ensure that conversation count check is on background thread.
This commit is contained in:
@@ -110,6 +110,7 @@ class ConversationListViewModel(
|
||||
|
||||
hasNoConversations = store
|
||||
.stateFlowable
|
||||
.subscribeOn(Schedulers.io())
|
||||
.map { it.filterRequest to it.conversations }
|
||||
.distinctUntilChanged()
|
||||
.map { (filterRequest, conversations) ->
|
||||
|
||||
Reference in New Issue
Block a user