From 6e1d49fd60307f0c323fead4b1b51121bef0959a Mon Sep 17 00:00:00 2001 From: bwees Date: Tue, 21 Oct 2025 18:05:18 -0500 Subject: [PATCH] feat: add warning --- i18n/en.json | 1 + mobile/lib/pages/backup/drift_backup.page.dart | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/i18n/en.json b/i18n/en.json index 8669a048b8..bdc41c3169 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1424,6 +1424,7 @@ "note_apply_storage_label_to_previously_uploaded assets": "Note: To apply the Storage Label to previously uploaded assets, run the", "notes": "Notes", "nothing_here_yet": "Nothing here yet", + "notification_backup_reliability": "Enable notification to improve background backup reliability", "notification_permission_dialog_content": "To enable notifications, go to Settings and select allow.", "notification_permission_list_tile_content": "Grant permission to enable notifications.", "notification_permission_list_tile_enable_button": "Enable Notifications", diff --git a/mobile/lib/pages/backup/drift_backup.page.dart b/mobile/lib/pages/backup/drift_backup.page.dart index 2e7c3e946c..7fd906986a 100644 --- a/mobile/lib/pages/backup/drift_backup.page.dart +++ b/mobile/lib/pages/backup/drift_backup.page.dart @@ -161,6 +161,11 @@ class _DriftBackupPageState extends ConsumerState { ), ), }, + Text( + "notification_backup_reliability".t(), + style: context.textTheme.bodySmall?.copyWith(color: context.colorScheme.onSurfaceSecondary), + textAlign: TextAlign.center, + ), TextButton.icon( icon: const Icon(Icons.info_outline_rounded), onPressed: () => context.pushRoute(const DriftUploadDetailRoute()),