alqindiirsyam 1 gadu atpakaļ
vecāks
revīzija
bdb3d70c1a

+ 1 - 0
appbuilder-ios/AppBuilder/AppBuilder/FirstTabViewController.swift

@@ -36,6 +36,7 @@ class FirstTabViewController: UIViewController, UIScrollViewDelegate, UIGestureR
         tapGesture.cancelsTouchesInView = false
         tapGesture.delegate = self
         let configuration = WKWebViewConfiguration()
+        configuration.allowsInlineMediaPlayback = true
         let customUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1 easySoftIndonesia"
         let finalUserAgent = "\(customUserAgent)"
         configuration.applicationNameForUserAgent = finalUserAgent

+ 1 - 1
appbuilder-ios/AppBuilder/AppBuilder/SecondTabViewController.swift

@@ -975,7 +975,7 @@ extension SecondTabViewController: UITableViewDelegate, UITableViewDataSource {
                     imageView.image = UIImage(named: "Conversation---Purple", in: Bundle.resourceBundle(for: Nexilis.self), with: nil)
                 }
             } else {
-                if PrefsUtil.getIconDock() != nil {
+                if !PrefsUtil.getIconDock().isEmpty {
                     let dataImage = try? Data(contentsOf: URL(string: PrefsUtil.getUrlDock()!)!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
                     if dataImage != nil {
                         getImage(name: data.profile, placeholderImage: UIImage(data: dataImage!), isCircle: true, tableView: tableView, indexPath: indexPath, completion: { result, isDownloaded, image in

+ 1 - 0
appbuilder-ios/AppBuilder/AppBuilder/ThirdTabViewController.swift

@@ -37,6 +37,7 @@ class ThirdTabViewController: UIViewController, UIScrollViewDelegate, UIGestureR
         tapGesture.cancelsTouchesInView = false
         tapGesture.delegate = self
         let configuration = WKWebViewConfiguration()
+        configuration.allowsInlineMediaPlayback = true
         let customUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Mobile/15E148 Safari/604.1 easySoftIndonesia"
         let finalUserAgent = "\(customUserAgent)"
         configuration.applicationNameForUserAgent = finalUserAgent

+ 1 - 1
appbuilder-ios/NexilisLite/NexilisLite/Source/Nexilis.swift

@@ -3091,7 +3091,7 @@ extension Nexilis: MessageDelegate {
                     floating.transparency = 0.9
                     
                     if threadIdentifier == "-999" {
-                        if Utils.getIconDock() != nil {
+                        if !Utils.getIconDock().isEmpty {
                             let dataImage = try? Data(contentsOf: URL(string: Utils.getUrlDock()!)!) //make sure your image in this url does exist, otherwise unwrap in a if let check / try-catch
                             if dataImage != nil {
                                 profileImage.image = UIImage(data: dataImage!)