Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): enable backup text overflows (#24227)

Yarosf12f609038cb
diff --git a/mobile/lib/presentation/widgets/backup/backup_toggle_button.widget.dart b/mobile/lib/presentation/widgets/backup/backup_toggle_button.widget.dart
index 8d374f74ff..ae4cfbd1c6 100644
--- a/mobile/lib/presentation/widgets/backup/backup_toggle_button.widget.dart
+++ b/mobile/lib/presentation/widgets/backup/backup_toggle_button.widget.dart
@@ -143,11 +143,13 @@ class BackupToggleButtonState extends ConsumerState<BackupToggleButton> with Sin
Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
- Text(
- "enable_backup".t(context: context),
- style: context.textTheme.titleMedium?.copyWith(
- fontWeight: FontWeight.w600,
- color: context.primaryColor,
+ Flexible(
+ child: Text(
+ "enable_backup".t(context: context),
+ style: context.textTheme.titleMedium?.copyWith(
+ fontWeight: FontWeight.w600,
+ color: context.primaryColor,
+ ),
),
),
],