diff --git a/Threaded/Components/ListStyle.swift b/Threaded/Components/ListStyle.swift index 6ffbbc9..499276b 100644 --- a/Threaded/Components/ListStyle.swift +++ b/Threaded/Components/ListStyle.swift @@ -3,10 +3,10 @@ import SwiftUI extension View { - func listThreaded() -> some View { + func listThreaded(tint: Color = Color(uiColor: UIColor.label)) -> some View { self .scrollContentBackground(.hidden) - .tint(Color.white) + .tint(tint) .background(Color.appBackground) .listStyle(.inset) } diff --git a/Threaded/Views/Settings/AboutView.swift b/Threaded/Views/Settings/AboutView.swift index 50b5118..d52ab22 100644 --- a/Threaded/Views/Settings/AboutView.swift +++ b/Threaded/Views/Settings/AboutView.swift @@ -17,6 +17,7 @@ struct AboutView: View { Toggle("setting.experimental.activate", isOn: $userPreferences.showExperimental) .listRowThreaded() + .tint(Color(uiColor: UIColor.label)) .onAppear { do { let oldPreferences = try UserPreferences.loadAsCurrent() ?? UserPreferences.defaultPreferences @@ -27,7 +28,7 @@ struct AboutView: View { } } } - .listThreaded() + .listThreaded(tint: Color.blue) .navigationTitle("about") .navigationBarTitleDisplayMode(.inline) .onDisappear {