Adding UI polish for polls.

This commit is contained in:
Michelle Tang
2025-10-31 12:51:12 -04:00
committed by jeffrey-signal
parent 109f651681
commit 303c2ea14a
8 changed files with 87 additions and 53 deletions

View File

@@ -297,6 +297,7 @@ class RecipientBottomSheetDialogFragment : FixedRoundedCornerBottomSheetDialogFr
background = DSLSettingsIcon.from(ContextUtil.requireDrawable(requireContext(), R.drawable.selectable_recipient_bottom_sheet_icon_button)),
enabled = !viewModel.isDeprecatedOrUnregistered,
onMessageClick = {
callback?.onMessageClicked()
dismiss()
viewModel.onMessageClicked(requireActivity())
},
@@ -449,5 +450,6 @@ class RecipientBottomSheetDialogFragment : FixedRoundedCornerBottomSheetDialogFr
interface Callback {
fun onRecipientBottomSheetDismissed()
fun onMessageClicked()
}
}