NTP-13754| Venkat Praneeth Reddy | Bottom sheet scrim color changes (#14266)
This commit is contained in:
committed by
GitHub
parent
efdd935635
commit
ce8df8e747
@@ -55,6 +55,8 @@ fun handleCtaAction(
|
||||
config =
|
||||
HpBottomSheetConfig(
|
||||
isCancellable = it.isCancellable,
|
||||
scrimColor = it.scrimColor,
|
||||
contentColor = it.contentColor,
|
||||
bottomSheetPercentageHeight = it.bottomSheetPercentageHeight,
|
||||
uiStrategy = it.uiStrategy,
|
||||
onDismiss = { homeVM.handleActions(it.onDismissAction) }
|
||||
|
||||
@@ -39,6 +39,8 @@ data class AlchemistBottomSheetStructure(
|
||||
val isCancellable: Boolean? = null,
|
||||
val onDismissAction: UiTronActionData? = null,
|
||||
@SerializedName("uiStrategy", alternate = ["strategy"]) val uiStrategy: UiStrategy? = null,
|
||||
val scrimColor: String? = null,
|
||||
val contentColor: String? = null,
|
||||
val bottomSheetPercentageHeight: Float? = null
|
||||
) {
|
||||
enum class UiStrategy {
|
||||
|
||||
Reference in New Issue
Block a user