Skip to content

Commit ce35472

Browse files
authored
Fix share actions from outside the app (#7473)
1 parent e1393c2 commit ce35472

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/7400.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix share actions using share dialog.

vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class MessageComposerFragment : VectorBaseFragment<FragmentComposerBinding>(), A
231231
.onEach { onTypeSelected(it.attachmentType) }
232232
.launchIn(lifecycleScope)
233233

234-
if (savedInstanceState != null) {
234+
if (savedInstanceState == null) {
235235
handleShareData()
236236
}
237237
}

0 commit comments

Comments
 (0)