Sped up animation for NavigationItem.

This commit is contained in:
acclorite 2024-08-10 15:16:15 +03:00
parent 24598c79f4
commit 1c708a4544
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ fun RowScope.BottomNavigationBarItem(
) {
Crossfade(
targetState = isSelected,
animationSpec = tween(300),
animationSpec = tween(150),
label = ""
) {
if (it) {

View file

@ -52,7 +52,7 @@ fun CustomNavigationRailItem(
) {
Crossfade(
targetState = isSelected,
animationSpec = tween(300),
animationSpec = tween(150),
label = ""
) {
if (it) {