Fix backing out of group story text send.

This commit is contained in:
Nicholas Tinsley 2024-07-16 17:36:14 -04:00
parent e9c2f96bb9
commit 21fab7c5ba

View file

@ -157,7 +157,9 @@ class TextStoryPostCreationFragment : Fragment(R.layout.stories_text_post_creati
MaterialAlertDialogBuilder(requireContext())
.setMessage(getString(R.string.MediaReviewFragment__add_to_the_group_story, sharedViewModel.state.value!!.recipient!!.getDisplayName(requireContext())))
.setPositiveButton(R.string.MediaReviewFragment__add_to_story) { _, _ -> performSend(contacts) }
.setNegativeButton(android.R.string.cancel) { _, _ -> }
.setNegativeButton(android.R.string.cancel) { _, _ ->
binding.sendInProgressIndicator.visible = false
}
.show()
} else {
performSend(contacts)