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

Commit 4a74c883 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Fix key for QuickQuickSettings composable

The keys need to be a parcelable object. So use the string
representation. Without this, composing QuickQuickSettings will crash.

Test: manual, prototype app.
Bug: 349794543
Flag: com.android.systemui.qs_ui_refactor
Change-Id: Iba0ccb1568cfa1996fdbbd4c485ae8ed46fad2f9
parent 72977ba6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ fun QuickQuickSettings(
    TileLazyGrid(modifier = modifier, columns = GridCells.Fixed(columns)) {
        items(
            tiles.size,
            key = { index -> sizedTiles[index].tile.spec },
            key = { index -> sizedTiles[index].tile.spec.spec },
            span = { index -> GridItemSpan(sizedTiles[index].width) }
        ) { index ->
            Tile(