Kaynağa Gözat

use .primary instead of .white for foregroundColor

polscm32 aka Marvout 1 yıl önce
ebeveyn
işleme
c5badace62

+ 5 - 5
FreeAPS/Sources/Modules/Settings/View/SettingsRootView.swift

@@ -122,7 +122,7 @@ extension Settings {
                             } label: {
                             } label: {
                                 HStack {
                                 HStack {
                                     Text("Share Logs")
                                     Text("Share Logs")
-                                        .foregroundColor(.white)
+                                        .foregroundColor(.primary)
                                     Spacer()
                                     Spacer()
                                     Image(systemName: "chevron.right")
                                     Image(systemName: "chevron.right")
                                         .foregroundColor(.secondary)
                                         .foregroundColor(.secondary)
@@ -138,7 +138,7 @@ extension Settings {
                             } label: {
                             } label: {
                                 HStack {
                                 HStack {
                                     Text("Submit Ticket on GitHub")
                                     Text("Submit Ticket on GitHub")
-                                        .foregroundColor(.white)
+                                        .foregroundColor(.primary)
                                     Spacer()
                                     Spacer()
                                     Image(systemName: "chevron.right")
                                     Image(systemName: "chevron.right")
                                         .foregroundColor(.secondary)
                                         .foregroundColor(.secondary)
@@ -154,7 +154,7 @@ extension Settings {
                             } label: {
                             } label: {
                                 HStack {
                                 HStack {
                                     Text("Trio Discord")
                                     Text("Trio Discord")
-                                        .foregroundColor(.white)
+                                        .foregroundColor(.primary)
                                     Spacer()
                                     Spacer()
                                     Image(systemName: "chevron.right")
                                     Image(systemName: "chevron.right")
                                         .foregroundColor(.secondary)
                                         .foregroundColor(.secondary)
@@ -170,7 +170,7 @@ extension Settings {
                             } label: {
                             } label: {
                                 HStack {
                                 HStack {
                                     Text("Trio Facebook")
                                     Text("Trio Facebook")
-                                        .foregroundColor(.white)
+                                        .foregroundColor(.primary)
                                     Spacer()
                                     Spacer()
                                     Image(systemName: "chevron.right")
                                     Image(systemName: "chevron.right")
                                         .foregroundColor(.secondary)
                                         .foregroundColor(.secondary)
@@ -186,7 +186,7 @@ extension Settings {
                             } label: {
                             } label: {
                                 HStack {
                                 HStack {
                                     Text("Trio Website")
                                     Text("Trio Website")
-                                        .foregroundColor(.white)
+                                        .foregroundColor(.primary)
                                     Spacer()
                                     Spacer()
                                     Image(systemName: "chevron.right")
                                     Image(systemName: "chevron.right")
                                         .foregroundColor(.secondary)
                                         .foregroundColor(.secondary)