From 5a18ed52cc1fb349f334e3cb27f793ff1cf67558 Mon Sep 17 00:00:00 2001 From: choykarl <253440030@qq.com> Date: Tue, 30 Jan 2024 09:51:02 +0800 Subject: [PATCH] pref: use .primary style --- Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift b/Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift index 30cc8fe3f..a1e59e04e 100644 --- a/Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift +++ b/Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift @@ -143,13 +143,9 @@ struct GeneralTab: View { selection: $selectedMenuBarIcon ) { ForEach(MenuBarIconType.allCases) { option in - if colorScheme == .light { - Image(option.rawValue) - } else { - Image(option.rawValue) - .renderingMode(.template) - .foregroundStyle(.white) - } + Image(option.rawValue) + .renderingMode(.template) + .foregroundStyle(.primary) } } } header: {