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

Commit dc2f67a1 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Remove click listener when expanded

Flag: com.android.systemui.enable_underlay
Test: click on chip to expand, click again on same location
Fixes: 418032390
Change-Id: I63b96b418661893df76f1c1b3d78c164ca7b8903
parent a3528680
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ fun NavBarPill(
                            cornerRadius = 16.dp,
                            visible = visible,
                        )
                        .clickable { onClick() }
                        .then(if (expanded) Modifier else Modifier.clickable { onClick() })
                        .padding(horizontal = 8.dp, vertical = 6.dp)
                        .onGloballyPositioned { expandedSize = it.size },
            ) {