forked from upstream-mirrors/quik
Fix issue with conversation info not loading
This commit is contained in:
@@ -75,6 +75,7 @@ class ComposeViewModel(threadId: Long, body: String)
|
|||||||
.filter { conversation -> conversation.isValid }
|
.filter { conversation -> conversation.isValid }
|
||||||
.take(1)
|
.take(1)
|
||||||
.mergeWith(selectedConversation)
|
.mergeWith(selectedConversation)
|
||||||
|
.distinctUntilChanged()
|
||||||
.doOnNext { conversation ->
|
.doOnNext { conversation ->
|
||||||
newState { it.copy(title = conversation.getTitle(), archived = conversation.archived) }
|
newState { it.copy(title = conversation.getTitle(), archived = conversation.archived) }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user