diff --git a/App/App_macOS.swift b/App/App_macOS.swift index ff981bad..6e0c89dc 100644 --- a/App/App_macOS.swift +++ b/App/App_macOS.swift @@ -107,7 +107,7 @@ struct RootView: View { HStack { Image(systemName: "heart") Text("enum.navigation_item.donations".localized) - .foregroundColor(.foregroundColor(.systemTextColor)) + .foregroundColor(.systemTextColor) } .padding()} } diff --git a/SwiftUI/Patches.swift b/SwiftUI/Patches.swift index a7e12295..5ea74368 100644 --- a/SwiftUI/Patches.swift +++ b/SwiftUI/Patches.swift @@ -58,7 +58,6 @@ extension Color { static let background = Color(UIColor.systemBackground) static let secondaryBackground = Color(UIColor.secondarySystemBackground) static let tertiaryBackground = Color(UIColor.tertiarySystemBackground) - static let systemTextColor = Color(NSColor.textColor) #endif }