Fix share actions from outside the app (#7473)

This commit is contained in:
Jorge Martin Espinosa 2022-10-31 12:39:38 +01:00 committed by GitHub
parent e1393c2d63
commit ce35472824
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/7400.bugfix Normal file
View file

@ -0,0 +1 @@
Fix share actions using share dialog.

View file

@ -231,7 +231,7 @@ class MessageComposerFragment : VectorBaseFragment<FragmentComposerBinding>(), A
.onEach { onTypeSelected(it.attachmentType) }
.launchIn(lifecycleScope)
if (savedInstanceState != null) {
if (savedInstanceState == null) {
handleShareData()
}
}