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 @@ -