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

Commit 83308fa2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Tweak Volume Dialog slider icon animation" into main

parents 6c4fe20f 81558980
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -102,7 +102,6 @@ private fun VolumeDialogSlider(
    hapticsViewModelFactory: SliderHapticsViewModel.Factory?,
    modifier: Modifier = Modifier,
) {

    val colors =
        SliderDefaults.colors(
            thumbColor = MaterialTheme.colorScheme.primary,
@@ -208,7 +207,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),
    ) {