Restore nested TabView for dashboard on iOS < 26
This commit is contained in:
@@ -18,7 +18,20 @@ public extension DashboardPage {
|
||||
.overview,
|
||||
.groups,
|
||||
]
|
||||
#if !tvOS
|
||||
#if !os(tvOS)
|
||||
if Variant.isBeta {
|
||||
cases.append(.connections)
|
||||
}
|
||||
#endif
|
||||
return cases
|
||||
}
|
||||
|
||||
static func enabledCases(hasGroups: Bool) -> [DashboardPage] {
|
||||
var cases: [DashboardPage] = [.overview]
|
||||
if hasGroups {
|
||||
cases.append(.groups)
|
||||
}
|
||||
#if !os(tvOS)
|
||||
if Variant.isBeta {
|
||||
cases.append(.connections)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user