mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
drop iOS 17 and removed all #available and #unavaible checks for 17 and 18
This commit is contained in:
@@ -39,10 +39,7 @@ import SwiftUI
|
||||
}
|
||||
|
||||
func barVisibility(in horizontalSizeClass: UserInterfaceSizeClass?) -> Visibility {
|
||||
if #unavailable(iOS 18.0) {
|
||||
// There are glitches with the tab bar on iPadOS 17, so disable the tab bar until we have fixed it.
|
||||
.hidden
|
||||
} else if let barVisibilityOverride {
|
||||
if let barVisibilityOverride {
|
||||
barVisibilityOverride
|
||||
} else if horizontalSizeClass == .compact, navigationSplitCoordinator?.detailCoordinator != nil {
|
||||
// Whilst we support pushing screens on the stack in the sidebarCoordinator, in practice
|
||||
|
||||
Reference in New Issue
Block a user