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:
commit
bbb16204d8
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user