Skip to content

Commit

Permalink
fix: invert order of save and open buttons as per design mock
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreferris committed Jan 18, 2024
1 parent 64d604e commit 1793876
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ fun DownloadedAssetDialog(
text = stringResource(R.string.asset_download_dialog_text),
buttonsHorizontalAlignment = false,
onDismiss = { hideOnAssetDownloadedDialog() },
optionButton2Properties = WireDialogButtonProperties(
optionButton1Properties = WireDialogButtonProperties(
text = stringResource(R.string.asset_download_dialog_open_text),
type = WireDialogButtonType.Primary,
onClick = { onOpenFileWithExternalApp(messageId) }
),
optionButton1Properties = WireDialogButtonProperties(
optionButton2Properties = WireDialogButtonProperties(
text = stringResource(R.string.asset_download_dialog_save_text),
type = WireDialogButtonType.Primary,
onClick = onSaveFileWriteStorageRequest::launch
Expand Down

0 comments on commit 1793876

Please sign in to comment.