Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): wrap backup error message text (#26834)

Thomas4571940a4ea5
diff --git a/mobile/lib/pages/backup/drift_backup.page.dart b/mobile/lib/pages/backup/drift_backup.page.dart
index 3c1b5ed1fe..3ba3389eea 100644
--- a/mobile/lib/pages/backup/drift_backup.page.dart
+++ b/mobile/lib/pages/backup/drift_backup.page.dart
@@ -148,10 +148,12 @@ class _DriftBackupPageState extends ConsumerState<DriftBackupPage> {
children: [
Icon(Icons.warning_rounded, color: context.colorScheme.error, fill: 1),
const SizedBox(width: 8),
- Text(
- context.t.backup_error_sync_failed,
- style: context.textTheme.bodyMedium?.copyWith(color: context.colorScheme.error),
- textAlign: TextAlign.center,
+ Flexible(
+ child: Text(
+ context.t.backup_error_sync_failed,
+ style: context.textTheme.bodyMedium?.copyWith(color: context.colorScheme.error),
+ textAlign: TextAlign.center,
+ ),
),
],
),