From e407677a2eb3952412b3c8c40e8265b2803f595b Mon Sep 17 00:00:00 2001 From: Jordy de Jonghe Date: Fri, 11 Oct 2024 14:26:43 +0200 Subject: [PATCH] #334: small fixes --- .../general/bottom_navigation/bottom_navigation_item.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widget/general/bottom_navigation/bottom_navigation_item.dart b/lib/widget/general/bottom_navigation/bottom_navigation_item.dart index 33ed167d..ab9767b0 100644 --- a/lib/widget/general/bottom_navigation/bottom_navigation_item.dart +++ b/lib/widget/general/bottom_navigation/bottom_navigation_item.dart @@ -44,8 +44,8 @@ class BottomNavigationItem extends StatelessWidget { AnimatedDefaultTextStyle( duration: ThemeDurations.shortAnimationDuration, style: isSelected - ? theme.text.bodySmall.copyWith(color: theme.bottomNavbarItemActive) - : theme.text.bodySmall.copyWith(color: theme.bottomNavbarItemInactive), + ? theme.bottomNavbarItemActive.bodySmall + : theme.bottomNavbarItemInactive.bodySmall, child: Text( localization.getTranslation(labelKey), maxLines: 1,