Skip to content

Commit

Permalink
pref: use .primary style
Browse files Browse the repository at this point in the history
  • Loading branch information
choykarl committed Jan 30, 2024
1 parent 3d66c84 commit 5a18ed5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Easydict/NewApp/View/SettingView/Tabs/GeneralTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 5a18ed5

Please sign in to comment.