Add lifecycle observation to group replies state observer.

fork-5.53.8
Alex Hart 2022-10-17 13:04:15 -03:00
rodzic b8665e41e8
commit 87c024e968
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) {