Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): prevent nav bar label text wrapping (#26011)

Christos Longrosb06c21325ebc
diff --git a/mobile/lib/theme/theme_data.dart b/mobile/lib/theme/theme_data.dart
index a633a04d7f..3837d6337c 100644
--- a/mobile/lib/theme/theme_data.dart
+++ b/mobile/lib/theme/theme_data.dart
@@ -73,7 +73,9 @@ ThemeData getThemeData({required ColorScheme colorScheme, required Locale locale
),
navigationBarTheme: NavigationBarThemeData(
backgroundColor: isDark ? colorScheme.surfaceContainer : colorScheme.surface,
- labelTextStyle: const WidgetStatePropertyAll(TextStyle(fontSize: 14, fontWeight: FontWeight.w500)),
+ labelTextStyle: const WidgetStatePropertyAll(
+ TextStyle(fontSize: 14, fontWeight: FontWeight.w500, overflow: TextOverflow.ellipsis),
+ ),
),
inputDecorationTheme: InputDecorationTheme(
focusedBorder: OutlineInputBorder(