mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-11 17:24:09 +00:00
feat(backups): Add jobs shortcut to backup screens
This commit is contained in:
parent
bc3cfa20bb
commit
69e5fa6cdd
2 changed files with 4 additions and 0 deletions
lib/ui/pages/backups
|
@ -53,6 +53,7 @@ class BackupDetailsPage extends StatelessWidget {
|
||||||
heroIcon: BrandIcons.save,
|
heroIcon: BrandIcons.save,
|
||||||
heroTitle: 'backup.card_title'.tr(),
|
heroTitle: 'backup.card_title'.tr(),
|
||||||
heroSubtitle: 'not_ready_card.in_menu'.tr(),
|
heroSubtitle: 'not_ready_card.in_menu'.tr(),
|
||||||
|
hasFlashButton: true,
|
||||||
children: const [],
|
children: const [],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -62,6 +63,7 @@ class BackupDetailsPage extends StatelessWidget {
|
||||||
heroIcon: BrandIcons.save,
|
heroIcon: BrandIcons.save,
|
||||||
heroTitle: 'backup.card_title'.tr(),
|
heroTitle: 'backup.card_title'.tr(),
|
||||||
heroSubtitle: 'backup.description'.tr(),
|
heroSubtitle: 'backup.description'.tr(),
|
||||||
|
hasFlashButton: true,
|
||||||
children: [
|
children: [
|
||||||
if (preventActions)
|
if (preventActions)
|
||||||
const Center(
|
const Center(
|
||||||
|
@ -87,6 +89,7 @@ class BackupDetailsPage extends StatelessWidget {
|
||||||
heroIcon: BrandIcons.save,
|
heroIcon: BrandIcons.save,
|
||||||
heroTitle: 'backup.card_title'.tr(),
|
heroTitle: 'backup.card_title'.tr(),
|
||||||
heroSubtitle: 'backup.description'.tr(),
|
heroSubtitle: 'backup.description'.tr(),
|
||||||
|
hasFlashButton: true,
|
||||||
children: [
|
children: [
|
||||||
ListTile(
|
ListTile(
|
||||||
onTap: preventActions
|
onTap: preventActions
|
||||||
|
|
|
@ -31,6 +31,7 @@ class BackupsListPage extends StatelessWidget {
|
||||||
context.watch<BackupsCubit>().state.preventActions;
|
context.watch<BackupsCubit>().state.preventActions;
|
||||||
return BrandHeroScreen(
|
return BrandHeroScreen(
|
||||||
heroTitle: 'backup.snapshots_title'.tr(),
|
heroTitle: 'backup.snapshots_title'.tr(),
|
||||||
|
hasFlashButton: true,
|
||||||
children: [
|
children: [
|
||||||
if (backups.isEmpty)
|
if (backups.isEmpty)
|
||||||
Center(
|
Center(
|
||||||
|
|
Loading…
Add table
Reference in a new issue