Updated on 2026-08-14
This commit is contained in:
parent
4e49562a24
commit
b8d67fd5b5
1 changed files with 6 additions and 0 deletions
|
|
@ -141,6 +141,11 @@ private fun AddCustomTokenFab(
|
|||
} else {
|
||||
Color(0xFFB9E6D3)
|
||||
}
|
||||
val elevation = if (!isEnabled) {
|
||||
FloatingActionButtonDefaults.elevation(0.dp, 0.dp)
|
||||
} else {
|
||||
FloatingActionButtonDefaults.elevation()
|
||||
}
|
||||
|
||||
ToggledRippleTheme(isEnabled) {
|
||||
ExtendedFloatingActionButton(
|
||||
|
|
@ -156,6 +161,7 @@ private fun AddCustomTokenFab(
|
|||
onClick = { if (isEnabled) onClick() },
|
||||
backgroundColor = backgroundColor,
|
||||
contentColor = contentColor,
|
||||
elevation = elevation,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue