Disallow view-once if share selection is stories.

This commit is contained in:
Alex Hart
2022-10-12 12:49:21 -03:00
committed by Greyson Parrelli
parent 7139f91997
commit d2523c2661

View File

@@ -431,7 +431,8 @@ class MediaSelectionActivity :
destination = MediaSelectionDestination.MultipleRecipients(recipientSearchKeys),
message = message,
asTextStory = asTextStory,
startAction = if (asTextStory) R.id.action_directly_to_textPostCreationFragment else -1
startAction = if (asTextStory) R.id.action_directly_to_textPostCreationFragment else -1,
isStory = recipientSearchKeys.any { it.isStory }
)
}