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