Skip to content

Commit 3aa15c5

Browse files
committed
refactor: make start backup red and first button in the page
1 parent c58d4bc commit 3aa15c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/features/backup_settings/ui/screens/backup_settings_screen.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,14 @@ class _Screen extends StatelessWidget {
5959
child: _BackupTestStatusWidget(),
6060
),
6161
const Gap(40),
62+
const _StartBackupButton(),
6263
if (state.lastEncryptedBackup != null)
6364
const _ViewVaultKeyButton(),
6465
if (state.lastEncryptedBackup != null ||
6566
state.lastPhysicalBackup != null)
6667
const _TestBackupButton(),
67-
const _StartBackupButton(),
68-
const _Bip329LabelsButton(),
6968
const _RecoverBullSettingsButton(),
70-
const Gap(20),
69+
const _Bip329LabelsButton(),
7170
if (state.error != null) ErrorWidget(error: state.error!),
7271
],
7372
),
@@ -156,6 +155,7 @@ class _StartBackupButton extends StatelessWidget {
156155
Widget build(BuildContext context) {
157156
return SettingsEntryItem(
158157
icon: Icons.save_as,
158+
iconColor: context.appColors.primary,
159159
title: context.loc.backupSettingsStartBackup,
160160
onTap: () => context.pushNamed(
161161
BackupSettingsSubroute.backupOptions.name,

0 commit comments

Comments
 (0)