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

Commit 5d643228 authored by Ming-Shin Lu's avatar Ming-Shin Lu Committed by Android (Google) Code Review
Browse files

Merge "BrightnessSlider: restart the effect when overriddenByAppState changed" into main

parents 6ba17c18 69ddea52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -315,7 +315,7 @@ fun BrightnessSlider(
    // Showing the warning toast if the current running app window has controlled the
    // brightness value.
    if (Flags.showToastWhenAppControlBrightness()) {
        LaunchedEffect(interactionSource) {
        LaunchedEffect(interactionSource, overriddenByAppState) {
            interactionSource.interactions.collect { interaction ->
                if (interaction is DragInteraction.Start && overriddenByAppState) {
                    currentShowToast()