diff --git a/lib/ui/app/menu_drawer.dart b/lib/ui/app/menu_drawer.dart index b0a97e83e..ea41fb220 100644 --- a/lib/ui/app/menu_drawer.dart +++ b/lib/ui/app/menu_drawer.dart @@ -504,8 +504,13 @@ class _DrawerTileState extends State { final prefState = state.prefState; final inactiveColor = prefState.customColors[PrefState.THEME_SIDEBAR_INACTIVE_COLOR] ?? ''; + final inactiveFontColor = + prefState.customColors[PrefState.THEME_SIDEBAR_INACTIVE_FONT_COLOR] ?? + ''; final activeColor = prefState.customColors[PrefState.THEME_SIDEBAR_ACTIVE_COLOR] ?? ''; + final activeFontColor = + prefState.customColors[PrefState.THEME_SIDEBAR_ACTIVE_FONT_COLOR] ?? ''; Color color = Colors.transparent; Color textColor = Theme.of(context) @@ -522,10 +527,16 @@ class _DrawerTileState extends State { ? kDefaultDarkSelectedColorMenu : kDefaultLightSelectedColorMenu); } + if (activeFontColor.isNotEmpty) { + textColor = convertHexStringToColor(activeFontColor); + } } else { if (inactiveColor.isNotEmpty) { color = convertHexStringToColor(inactiveColor); } + if (inactiveFontColor.isNotEmpty) { + textColor = convertHexStringToColor(inactiveFontColor); + } } Widget trailingWidget;