duplicate foregroundColor

This commit is contained in:
Valentin Vila 2024-03-21 13:16:56 -03:00 committed by Balazs Perlaki-Horvath
parent 259a2f4d28
commit 82befde685
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -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
}