mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-14 12:10:36 +01:00
Add lifecycle observation to group replies state observer.
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ class StoryGroupReplyFragment :
|
||||
|
||||
var firstSubmit = true
|
||||
|
||||
viewModel.state
|
||||
lifecycleDisposable += viewModel.state
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribeBy { state ->
|
||||
if (markReadHelper == null && state.threadId > 0L) {
|
||||
|
||||
Reference in New Issue
Block a user