Use Color.accentColor instead of Color.blue

This commit is contained in:
Kenta Kubo 2020-12-18 02:03:45 +09:00
parent 934a1de021
commit d47e545518
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ extension DetailView: View {
case var .dnsOverTLS(configuration):
Section(
header: EditButton()
.foregroundColor(.blue)
.foregroundColor(.accentColor)
.frame(maxWidth: .infinity, alignment: .trailing)
.overlay(Text("Servers"), alignment: .leading),
footer: Text("The DNS server IP addresses.")

View file

@ -75,7 +75,7 @@ extension HowToActivateView: View {
Text("Dismiss")
.padding()
.foregroundColor(.white)
.background(Color.blue)
.background(Color.accentColor)
.cornerRadius(10)
}
}