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

Commit cb63fc10 authored by Omar Miatello's avatar Omar Miatello
Browse files

Enable reveal effects on QuickSettingsShadeOverlay

This will enable a reveal effect on the quick setting tiles present
in the TileGrid.

Note: this could be submitted when ag/34104514 is merged.

Test: Manually tested on dual shade with multiple scrollable page of qs
Bug: 410524175
Flag: com.android.systemui.scene_container
Change-Id: I67e8b920e3aced2b06dea93e656d37b042118acd
parent 81ceb451
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ import androidx.compose.foundation.layout.Spacer
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.requiredHeight
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.systemGestureExclusion
import androidx.compose.foundation.verticalScroll
@@ -341,7 +340,11 @@ fun ContentScope.QuickSettingsLayout(
            }

            GridAnchor()
            TileGrid(viewModel = viewModel.tileGridViewModel, modifier = Modifier.fillMaxWidth())
            TileGrid(
                viewModel = viewModel.tileGridViewModel,
                modifier = Modifier.fillMaxWidth(),
                revealEffectContainer = QuickSettingsShade.Elements.Panel,
            )
            Spacer(Modifier.padding(bottom = QuickSettingsShade.Dimensions.Padding))
        }
    }