Update UI
This commit is contained in:
parent
f40df0b819
commit
dd90d57675
1 changed files with 3 additions and 9 deletions
|
@ -20,7 +20,7 @@ Future<void> handleExportClick(BuildContext context) async {
|
||||||
body: "Encrypted exports will be protected by a password of your choice.",
|
body: "Encrypted exports will be protected by a password of your choice.",
|
||||||
buttons: [
|
buttons: [
|
||||||
ButtonWidget(
|
ButtonWidget(
|
||||||
buttonType: ButtonType.neutral,
|
buttonType: ButtonType.primary,
|
||||||
labelText: "Encrypted",
|
labelText: "Encrypted",
|
||||||
isInAlert: true,
|
isInAlert: true,
|
||||||
buttonSize: ButtonSize.large,
|
buttonSize: ButtonSize.large,
|
||||||
|
@ -31,19 +31,13 @@ Future<void> handleExportClick(BuildContext context) async {
|
||||||
// shouldShowSuccessConfirmation: true,
|
// shouldShowSuccessConfirmation: true,
|
||||||
),
|
),
|
||||||
const ButtonWidget(
|
const ButtonWidget(
|
||||||
buttonType: ButtonType.neutral,
|
buttonType: ButtonType.secondary,
|
||||||
labelText: "Plain text",
|
labelText: "Plain text",
|
||||||
buttonSize: ButtonSize.large,
|
buttonSize: ButtonSize.large,
|
||||||
isInAlert: true,
|
isInAlert: true,
|
||||||
buttonAction: ButtonAction.second,
|
buttonAction: ButtonAction.second,
|
||||||
),
|
),
|
||||||
ButtonWidget(
|
|
||||||
buttonSize: ButtonSize.large,
|
|
||||||
buttonType: ButtonType.secondary,
|
|
||||||
labelText: context.l10n.cancel,
|
|
||||||
isInAlert: true,
|
|
||||||
buttonAction: ButtonAction.cancel,
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
if (result?.action != null && result!.action != ButtonAction.cancel) {
|
if (result?.action != null && result!.action != ButtonAction.cancel) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue