Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81558980 authored by Anton Potapov's avatar Anton Potapov
Browse files

Tweak Volume Dialog slider icon animation

Flag: com.android.systemui.volume_redesign
Fixes: 394308678
Test: manual on the phone. Open the Volume Dialog, adjust the volume and observe
the icon

Change-Id: I882457338c8841627e465b7ed27dcfc91aeb3f7c
parent 7acbff03
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -99,7 +99,6 @@ private fun VolumeDialogSlider(
    hapticsViewModelFactory: SliderHapticsViewModel.Factory?,
    modifier: Modifier = Modifier,
) {

    val colors =
        SliderDefaults.colors(
            thumbColor = MaterialTheme.colorScheme.primary,
@@ -205,7 +204,7 @@ private fun BoxScope.VolumeIcon(
) {
    AnimatedVisibility(
        visible = isVisible,
        enter = fadeIn(animationSpec = tween(durationMillis = 50)),
        enter = fadeIn(animationSpec = tween(delayMillis = 33, durationMillis = 100)),
        exit = fadeOut(animationSpec = tween(durationMillis = 50)),
        modifier = modifier.align(Alignment.Center).size(40.dp).padding(10.dp),
    ) {