Sped up animation for NavigationItem.
This commit is contained in:
parent
24598c79f4
commit
1c708a4544
2 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ fun RowScope.BottomNavigationBarItem(
|
|||
) {
|
||||
Crossfade(
|
||||
targetState = isSelected,
|
||||
animationSpec = tween(300),
|
||||
animationSpec = tween(150),
|
||||
label = ""
|
||||
) {
|
||||
if (it) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ fun CustomNavigationRailItem(
|
|||
) {
|
||||
Crossfade(
|
||||
targetState = isSelected,
|
||||
animationSpec = tween(300),
|
||||
animationSpec = tween(150),
|
||||
label = ""
|
||||
) {
|
||||
if (it) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue