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

Commit 8fd70444 authored by Anton Potapov's avatar Anton Potapov Committed by Android (Google) Code Review
Browse files

Merge "Don't announce progress for a disabled slider" into main

parents ad25084d 49705788
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -66,7 +66,9 @@ fun VolumeSlider(

                // provide a not animated value to the a11y because it fails to announce the
                // settled value when it changes rapidly.
                if (state.isEnabled) {
                    progressBarRangeInfo = ProgressBarRangeInfo(state.value, state.valueRange)
                }
                setProgress { targetValue ->
                    val targetDirection =
                        when {