diff --git a/Tusker/Screens/Preferences/About/AboutView.swift b/Tusker/Screens/Preferences/About/AboutView.swift index c45ca511..071fa2c8 100644 --- a/Tusker/Screens/Preferences/About/AboutView.swift +++ b/Tusker/Screens/Preferences/About/AboutView.swift @@ -59,7 +59,12 @@ struct AboutView: View { } } label: { HStack { - Label("Get Support", systemImage: "envelope") + Label { + Text("Get Support") + } icon: { + Image(systemName: "envelope") + .foregroundStyle(.tint) + } Spacer() if isGettingLogData { ProgressView() @@ -75,7 +80,6 @@ struct AboutView: View { Label("Issue Tracker", systemImage: "checklist") } } - .labelStyle(AboutLinksLabelStyle()) .appGroupedListRowBackground() } .listStyle(.insetGrouped) @@ -174,15 +178,6 @@ private struct MailSheet: UIViewControllerRepresentable { } } -private struct AboutLinksLabelStyle: LabelStyle { - func makeBody(configuration: Configuration) -> some View { - HStack(alignment: .lastTextBaseline, spacing: 8) { - configuration.icon - configuration.title - } - } -} - struct AboutView_Previews: PreviewProvider { static var previews: some View { AboutView()