1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-29 00:10:34 +05:30

Merge pull request #531 from dnicolson/fix-tvos-settings-table

Fix tvOS settings table padding
This commit is contained in:
Arkadiusz Fal 2023-09-23 17:10:13 +02:00 committed by GitHub
commit bbb16204d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {