From 80856d1e8d6bc8864383af80c5f9feda8f415bb9 Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Sat, 15 Aug 2026 22:56:45 +0200 Subject: [PATCH] fix: text overflow for developer options --- firka/lib/ui/phone/pages/extras/extras.dart | 57 ++++++++++++--------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/firka/lib/ui/phone/pages/extras/extras.dart b/firka/lib/ui/phone/pages/extras/extras.dart index d14839e5..4d64a6cc 100644 --- a/firka/lib/ui/phone/pages/extras/extras.dart +++ b/firka/lib/ui/phone/pages/extras/extras.dart @@ -47,11 +47,14 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) { color: appStyle.colors.accent, ), SizedBox(width: 4), - Text( - data.l10n.debug_screen, - textAlign: TextAlign.right, - style: appStyle.fonts.B_16R.apply( - color: appStyle.colors.textPrimary, + Flexible( + child: Text( + data.l10n.debug_screen, + textAlign: TextAlign.right, + overflow: TextOverflow.ellipsis, + style: appStyle.fonts.B_16R.apply( + color: appStyle.colors.textPrimary, + ), ), ), ], @@ -157,15 +160,19 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) { color: appStyle.colors.accent, ), SizedBox(width: 4), - Text( - data.l10n.s_your_account, - textAlign: TextAlign.right, - style: appStyle.fonts.B_16R - .apply( - color: appStyle - .colors - .textPrimary, - ), + Flexible( + child: Text( + data.l10n.s_your_account, + textAlign: TextAlign.right, + overflow: + TextOverflow.ellipsis, + style: appStyle.fonts.B_16R + .apply( + color: appStyle + .colors + .textPrimary, + ), + ), ), ], ), @@ -210,15 +217,19 @@ void showExtrasBottomSheet(BuildContext context, AppInitialization data) { color: appStyle.colors.accent, ), SizedBox(width: 4), - Text( - data.l10n.settings_screen, - textAlign: TextAlign.right, - style: appStyle.fonts.B_16R - .apply( - color: appStyle - .colors - .textPrimary, - ), + Flexible( + child: Text( + data.l10n.settings_screen, + textAlign: TextAlign.right, + overflow: + TextOverflow.ellipsis, + style: appStyle.fonts.B_16R + .apply( + color: appStyle + .colors + .textPrimary, + ), + ), ), ], ),