Minor tvOS fixes
This commit is contained in:
@@ -132,7 +132,7 @@ public struct GroupView: View {
|
||||
#if os(iOS)
|
||||
return standardCount < 2 ? 2 : standardCount
|
||||
#elseif os(tvOS)
|
||||
return Int(Int(geometryWidth) / 400)
|
||||
return 4
|
||||
#else
|
||||
return standardCount < 1 ? 1 : standardCount
|
||||
#endif
|
||||
|
||||
@@ -13,7 +13,6 @@ struct MainView: View {
|
||||
ForEach(NavigationPage.allCases, id: \.self) { page in
|
||||
NavigationStackCompat {
|
||||
page.contentView
|
||||
.navigationTitle(page.title)
|
||||
.focusSection()
|
||||
}
|
||||
.tag(page)
|
||||
|
||||
Reference in New Issue
Block a user