From fedcf71ada10094677893865738a959626bd918f Mon Sep 17 00:00:00 2001 From: Bilal Date: Tue, 1 Oct 2024 00:14:22 +0530 Subject: [PATCH] home commit --- WOKA/Games/Controller/GamesWebViewVC.swift | 6 ++--- WOKA/Home/Home.storyboard | 27 ++++++++++------------ WOKA/Home/ViewModel/MyListVM.swift | 8 +++---- WOKA/Main/JWPlayerManager.swift | 8 +++++-- WOKA/Theme/ViewModel/ThemeOneVM.swift | 12 ++++++---- 5 files changed, 30 insertions(+), 31 deletions(-) diff --git a/WOKA/Games/Controller/GamesWebViewVC.swift b/WOKA/Games/Controller/GamesWebViewVC.swift index 2dcc09d..61a9fdb 100644 --- a/WOKA/Games/Controller/GamesWebViewVC.swift +++ b/WOKA/Games/Controller/GamesWebViewVC.swift @@ -42,12 +42,10 @@ class GamesWebViewVC: UIViewController, WKNavigationDelegate,UIGestureRecognizer override func viewDidLoad() { super.viewDidLoad() - - - + if let orientation, orientation == .landscape{ DispatchQueue.main.async { [weak self] in - guard let self else{return} + guard self != nil else{return} appDelegate.deviceOrientation = .landscapeRight let value = UIInterfaceOrientation.landscapeRight.rawValue UIDevice.current.setValue(value, forKey: "orientation") diff --git a/WOKA/Home/Home.storyboard b/WOKA/Home/Home.storyboard index ed5f4ac..65d18cb 100644 --- a/WOKA/Home/Home.storyboard +++ b/WOKA/Home/Home.storyboard @@ -1072,10 +1072,10 @@ - + - + @@ -1232,6 +1232,11 @@ + @@ -1364,18 +1369,14 @@ -