mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Adding UI polish for polls.
This commit is contained in:
committed by
jeffrey-signal
parent
109f651681
commit
303c2ea14a
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user