mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix disposable leak in ShareActivity.
This commit is contained in:
committed by
Cody Henthorne
parent
baf9cd0909
commit
e6a4067a35
@@ -87,6 +87,7 @@ class ShareActivity : PassphraseRequiredActivity(), MultiselectForwardFragment.C
|
||||
}
|
||||
}
|
||||
|
||||
lifecycleDisposable.bindTo(this)
|
||||
lifecycleDisposable += viewModel.events.subscribe { shareEvent ->
|
||||
when (shareEvent) {
|
||||
is ShareEvent.OpenConversation -> openConversation(shareEvent)
|
||||
|
||||
Reference in New Issue
Block a user