diff --git a/Application/Sources/Bridges/SwiftMessagesBridge.swift b/Application/Sources/Bridges/SwiftMessagesBridge.swift index dace4d7d8..13ba29f7b 100755 --- a/Application/Sources/Bridges/SwiftMessagesBridge.swift +++ b/Application/Sources/Bridges/SwiftMessagesBridge.swift @@ -60,8 +60,7 @@ final class SwiftMessagesBridge: NSObject { if #available(iOS 18.0, *), UIDevice.current.userInterfaceIdiom == .pad { config.presentationContext = .window(windowLevel: .normal) - } - else if let presentationController { + } else if let presentationController { config.presentationContext = .viewController(presentationController) } diff --git a/Application/Sources/UI/Controllers/TabBarController.m b/Application/Sources/UI/Controllers/TabBarController.m index 02347af8b..3c0e77899 100755 --- a/Application/Sources/UI/Controllers/TabBarController.m +++ b/Application/Sources/UI/Controllers/TabBarController.m @@ -432,7 +432,6 @@ - (void)updateLayoutAnimated:(BOOL)animated } self.playerHeightConstraint.active = YES; - BOOL isRegular = (self.traitCollection.horizontalSizeClass == UIUserInterfaceSizeClassRegular); self.playerBottomToViewConstraint.active = YES; CALayer *miniPlayerLayer = self.miniPlayerView.layer; diff --git a/PlaySRG.xcodeproj/project.pbxproj b/PlaySRG.xcodeproj/project.pbxproj index ab8117f85..8be2cb402 100644 --- a/PlaySRG.xcodeproj/project.pbxproj +++ b/PlaySRG.xcodeproj/project.pbxproj @@ -6233,7 +6233,7 @@ BuildIndependentTargetsInParallel = YES; CLASSPREFIX = ""; LastSwiftUpdateCheck = 1310; - LastUpgradeCheck = 1500; + LastUpgradeCheck = 1600; ORGANIZATIONNAME = "SRG SSR"; TargetAttributes = { 08B77A442409C06000A3BC3B = { diff --git a/PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI TV screenshots.xcscheme b/PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI TV screenshots.xcscheme index bdb7b83ac..9ee9d04ba 100644 --- a/PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI TV screenshots.xcscheme +++ b/PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI TV screenshots.xcscheme @@ -1,6 +1,6 @@