mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-29 06:56:46 -04:00
duplicate foregroundColor
This commit is contained in:
parent
b69a718b22
commit
c429ced2e9
@ -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()}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user