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

Commit 25243212 authored by Fahim M. Choudhury's avatar Fahim M. Choudhury Committed by Nishith Khanna
Browse files

refactor: add padding to install button UI for long button labels

parent 00529f81
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ private fun PrimaryActionArea(
            } else {
                Text(
                    text = uiState.label,
                    modifier = Modifier.padding(horizontal = 4.dp),
                    maxLines = 1,
                    overflow = TextOverflow.Clip,
                    color = labelTextColor,
@@ -334,7 +335,7 @@ private fun SearchResultListItemPreviewOpen() {
                uiState = sampleState(
                    rating = "4.3",
                    primary = PrimaryActionUiState(
                        label = "Open",
                        label = "ThisIsALongButtonName",
                        enabled = true,
                        isInProgress = false,
                        isFilledStyle = true,