From cf28f5d8fa3ec9641458bd999cce2bedfa193872 Mon Sep 17 00:00:00 2001 From: Mustapha-Tarek Ben Lechhab Date: Wed, 20 Nov 2024 10:13:35 +0100 Subject: [PATCH] PLAYRTS-5578 Fix warnings --- Application/Sources/Bridges/SwiftMessagesBridge.swift | 3 +-- Application/Sources/UI/Controllers/TabBarController.m | 1 - PlaySRG.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Play RSI TV screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI TV.xcscheme | 2 +- .../xcshareddata/xcschemes/Play RSI screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RSI.xcscheme | 2 +- .../xcshareddata/xcschemes/Play RTR TV screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RTR TV.xcscheme | 2 +- .../xcshareddata/xcschemes/Play RTR screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RTR.xcscheme | 2 +- .../xcshareddata/xcschemes/Play RTS TV screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RTS TV.xcscheme | 2 +- .../xcshareddata/xcschemes/Play RTS screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play RTS.xcscheme | 2 +- .../xcshareddata/xcschemes/Play SRF TV screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play SRF TV.xcscheme | 2 +- .../xcshareddata/xcschemes/Play SRF screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play SRF.xcscheme | 2 +- .../xcshareddata/xcschemes/Play SWI TV screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play SWI TV.xcscheme | 2 +- .../xcshareddata/xcschemes/Play SWI screenshots.xcscheme | 2 +- PlaySRG.xcodeproj/xcshareddata/xcschemes/Play SWI.xcscheme | 2 +- 23 files changed, 22 insertions(+), 24 deletions(-) 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 @@