feat: add warning

This commit is contained in:
bwees 2025-10-21 18:05:18 -05:00
parent 032de9ff2f
commit 6e1d49fd60
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

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

View file

@ -161,6 +161,11 @@ class _DriftBackupPageState extends ConsumerState<DriftBackupPage> {
),
),
},
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()),