Skip to content

Commit 4eaf216

Browse files
style(backup): fill the start-backup button in primary red
It is the screen's main action whenever no hero is claiming that role, so it wears the app's primary fill rather than an outline.
1 parent e620825 commit 4eaf216

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,8 @@ class _TestBackupHero extends StatelessWidget {
347347

348348
/// Creating a backup is an ACTION, not a setting, so it is a button rather
349349
/// than a menu row — obvious at a glance even when a backup already exists.
350-
/// Outlined rather than filled: it must not compete with a hero's own CTA when
351-
/// one is present, and it is an offer, never a warning.
350+
/// Filled in the app's primary red: this is the screen's main action whenever
351+
/// no hero is claiming that role.
352352
class _StartBackupButton extends StatelessWidget {
353353
const _StartBackupButton();
354354

@@ -366,10 +366,8 @@ class _StartBackupButton extends StatelessWidget {
366366
BackupSettingsSubroute.backupOptions.name,
367367
extra: BackupSettingsFlow.backup,
368368
),
369-
outlined: true,
370-
bgColor: context.appColors.transparent,
371-
textColor: context.appColors.onSurface,
372-
borderColor: context.appColors.outline,
369+
bgColor: context.appColors.primary,
370+
textColor: context.appColors.onPrimary,
373371
),
374372
);
375373
}

0 commit comments

Comments
 (0)