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:
octoshrimpy
2025-03-11 15:15:51 -04:00
committed by GitHub
@@ -104,10 +104,11 @@ class QkReplyViewModel @Inject constructor(
super.bindView(view)
conversation
.map { conversation -> conversation.draft }
.distinctUntilChanged()
.autoDisposable(view.scope())
.subscribe { draft -> view.setDraft(draft) }
.take(1) // only update saved draft to ui once
.map { conversation -> conversation.draft }
.distinctUntilChanged()
.autoDisposable(view.scope())
.subscribe { draft -> view.setDraft(draft) }
// Mark read
view.menuItemIntent