Skip to content

Commit

Permalink
Fix update and share button's width to be exactly the same as the sti…
Browse files Browse the repository at this point in the history
…cky buttons
  • Loading branch information
LunarX committed Nov 13, 2024
1 parent 2e183d2 commit b3c7e16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ fun UploadSuccessQrScreen(transferType: TransferType, transferUrl: String, close
ScreenContent(transferType, transferUrl)

ShareAndCopyButtons(
modifier = Modifier
.padding(horizontal = Margin.Medium)
.padding(bottom = Margin.Medium, top = Margin.Mini),
modifier = Modifier.padding(bottom = Margin.Medium, top = Margin.Mini),
transferLink = transferUrl,
snackbarHostState = snackbarHostState,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ fun ColumnScope.ShareAndCopyButtons(modifier: Modifier = Modifier, transferLink:
modifier
.widthIn(max = Dimens.SingleButtonMaxWidth)
.fillMaxWidth()
.padding(horizontal = Margin.Medium)
.align(Alignment.CenterHorizontally),
) {
ShareCopyButton(
Expand Down

0 comments on commit b3c7e16

Please sign in to comment.