feat(backups): Add jobs shortcut to backup screens

This commit is contained in:
Inex Code 2023-08-14 07:39:14 +03:00
parent bc3cfa20bb
commit 69e5fa6cdd
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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(