mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
Merge pull request #331 from gavine99/floating-answer-written-backwards-322
fix circular update of message text and db conversation in qkreply
This commit is contained in:
@@ -104,6 +104,7 @@ class QkReplyViewModel @Inject constructor(
|
|||||||
super.bindView(view)
|
super.bindView(view)
|
||||||
|
|
||||||
conversation
|
conversation
|
||||||
|
.take(1) // only update saved draft to ui once
|
||||||
.map { conversation -> conversation.draft }
|
.map { conversation -> conversation.draft }
|
||||||
.distinctUntilChanged()
|
.distinctUntilChanged()
|
||||||
.autoDisposable(view.scope())
|
.autoDisposable(view.scope())
|
||||||
|
|||||||
Reference in New Issue
Block a user