mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Add lifecycle observation to group replies state observer.
This commit is contained in:
@@ -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