mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Add material3 coloring to story reply dialog.
This commit is contained in:
committed by
Cody Henthorne
parent
2a9d2cf580
commit
1328aab939
@@ -22,8 +22,10 @@ abstract class KeyboardEntryDialogFragment(@LayoutRes contentLayoutId: Int) :
|
||||
|
||||
protected open val withDim: Boolean = false
|
||||
|
||||
protected open val themeResId: Int = R.style.Theme_Signal_RoundedBottomSheet
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
setStyle(STYLE_NORMAL, R.style.Theme_Signal_RoundedBottomSheet)
|
||||
setStyle(STYLE_NORMAL, themeResId)
|
||||
super.onCreate(savedInstanceState)
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ class StoryDirectReplyDialogFragment :
|
||||
private var isRequestingReactWithAny = false
|
||||
private var isReactClosingAfterSend = false
|
||||
|
||||
override val themeResId: Int = R.style.Theme_Signal_RoundedBottomSheet_Stories
|
||||
|
||||
private val viewModel: StoryDirectReplyViewModel by viewModels(
|
||||
factoryProducer = {
|
||||
StoryDirectReplyViewModel.Factory(storyId, recipientId, StoryDirectReplyRepository(requireContext()))
|
||||
|
||||
Reference in New Issue
Block a user