fix circular update of message and db conversation in qkreply causing cursor return to start of edit box

This commit is contained in:
gavine99
2025-03-06 20:03:15 +11:00
parent 4cbf3bdc4d
commit ea82e167ec
@@ -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())