diff --git a/lib/pages_desktop_specific/home/settings_menu_item.dart b/lib/pages_desktop_specific/home/settings_menu_item.dart index b35ab1c23..d317c509a 100644 --- a/lib/pages_desktop_specific/home/settings_menu_item.dart +++ b/lib/pages_desktop_specific/home/settings_menu_item.dart @@ -25,10 +25,10 @@ class SettingsMenuItem extends StatelessWidget { style: value == group ? Theme.of(context) .extension()! - .getDesktopMenuButtonColorSelected(context) + .getDesktopSettingsButtonColor(context) : Theme.of(context) .extension()! - .getDesktopMenuButtonColor(context), + .getDesktopSettingsButtonColor(context), onPressed: () { onChanged(value); }, diff --git a/lib/utilities/theme/stack_colors.dart b/lib/utilities/theme/stack_colors.dart index c6ee28892..7790a9f82 100644 --- a/lib/utilities/theme/stack_colors.dart +++ b/lib/utilities/theme/stack_colors.dart @@ -1501,4 +1501,11 @@ class StackColors extends ThemeExtension { textFieldDefaultBG, ), ); + + ButtonStyle? getDesktopSettingsButtonColor(BuildContext context) => + Theme.of(context).textButtonTheme.style?.copyWith( + backgroundColor: MaterialStateProperty.all( + background, + ), + ); }