duplicate foregroundColor

This commit is contained in:
Valentin Vila 2024-03-21 13:16:56 -03:00
parent b69a718b22
commit c429ced2e9
2 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,7 @@ struct RootView: View {
HStack { HStack {
Image(systemName: "heart") Image(systemName: "heart")
Text("enum.navigation_item.donations".localized) Text("enum.navigation_item.donations".localized)
.foregroundColor(.foregroundColor(.systemTextColor)) .foregroundColor(.systemTextColor)
} }
.padding()} .padding()}
} }

View File

@ -58,7 +58,6 @@ extension Color {
static let background = Color(UIColor.systemBackground) static let background = Color(UIColor.systemBackground)
static let secondaryBackground = Color(UIColor.secondarySystemBackground) static let secondaryBackground = Color(UIColor.secondarySystemBackground)
static let tertiaryBackground = Color(UIColor.tertiarySystemBackground) static let tertiaryBackground = Color(UIColor.tertiarySystemBackground)
static let systemTextColor = Color(NSColor.textColor)
#endif #endif
} }