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

Refs: #25022
This commit is contained in:
Thomas
2026-03-11 01:40:01 +00:00
committed by GitHub
parent 1ceb6d2e21
commit 4571940a4e
@@ -148,10 +148,12 @@ class _DriftBackupPageState extends ConsumerState<DriftBackupPage> {
children: [ children: [
Icon(Icons.warning_rounded, color: context.colorScheme.error, fill: 1), Icon(Icons.warning_rounded, color: context.colorScheme.error, fill: 1),
const SizedBox(width: 8), const SizedBox(width: 8),
Text( Flexible(
context.t.backup_error_sync_failed, child: Text(
style: context.textTheme.bodyMedium?.copyWith(color: context.colorScheme.error), context.t.backup_error_sync_failed,
textAlign: TextAlign.center, style: context.textTheme.bodyMedium?.copyWith(color: context.colorScheme.error),
textAlign: TextAlign.center,
),
), ),
], ],
), ),