Fix tvOS settings table padding

This commit is contained in:
Dave Nicolson 2023-09-09 18:20:44 +02:00
parent 2f10dc8368
commit bd961ebbf0

View File

@ -188,6 +188,9 @@ struct SettingsView: View {
Label("Advanced", systemImage: "wrench.and.screwdriver") Label("Advanced", systemImage: "wrench.and.screwdriver")
} }
} }
#if os(tvOS)
.padding(.horizontal, 20)
#endif
Section(footer: helpFooter) { Section(footer: helpFooter) {
NavigationLink { NavigationLink {
@ -196,6 +199,9 @@ struct SettingsView: View {
Label("Help", systemImage: "questionmark.circle") Label("Help", systemImage: "questionmark.circle")
} }
} }
#if os(tvOS)
.padding(.horizontal, 20)
#endif
#if !os(tvOS) #if !os(tvOS)
Section(header: Text("Contact"), footer: versionString) { Section(header: Text("Contact"), footer: versionString) {