diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ExpandChevron.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ExpandChevron.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ExpandChevron.kt index 7f211ef0e4..a38b283256 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ExpandChevron.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/component/ExpandChevron.kt @@ -33,7 +33,7 @@ fun ExpandChevron(modifier: Modifier = Modifier, color: Color, isExpanded: Boole animateFloatAsState( targetValue = degree, label = "", - animationSpec = TweenSpec(100, easing = LinearEasing), + animationSpec = TweenSpec(ROTATION_ANIMATION_DURATION, easing = LinearEasing), ) Icon( @@ -58,3 +58,4 @@ fun ExpandChevronIconButton( private const val DOWN_ROTATION = 0f private const val UP_ROTATION = 180f +private const val ROTATION_ANIMATION_DURATION = 100 |
