From 7f074c67e3dda33583b26cbc694c689c98135b5b Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 12 Mar 2024 21:01:02 +0100 Subject: [PATCH] fix too big dates in navbar --- .../lib/screens/navigation/navigation_screen.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/refilc_mobile_ui/lib/screens/navigation/navigation_screen.dart b/refilc_mobile_ui/lib/screens/navigation/navigation_screen.dart index b7156fd..d1b3fc2 100644 --- a/refilc_mobile_ui/lib/screens/navigation/navigation_screen.dart +++ b/refilc_mobile_ui/lib/screens/navigation/navigation_screen.dart @@ -337,7 +337,9 @@ class NavigationScreenState extends State color: Theme.of(context) .colorScheme .secondary, - fontWeight: FontWeight.w500, + fontWeight: FontWeight.w600, + fontSize: + DateTime.now().day > 9 ? 12.1 : null, ), ), ), @@ -361,6 +363,8 @@ class NavigationScreenState extends State .colorScheme .background, fontWeight: FontWeight.w500, + fontSize: + DateTime.now().day > 9 ? 12.1 : null, ), ), ),