alqindiirsyam 2 年之前
父節點
當前提交
92d05e8ee6

+ 6 - 1
appbuilder-ios/AppBuilder/AppBuilder/ViewController.swift

@@ -188,7 +188,12 @@ class ViewController: UITabBarController, UITabBarControllerDelegate, SettingMAB
         if !isChangeProfile {
             let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized().localized(), preferredStyle: .alert)
             alert.addAction(UIAlertAction(title: "Cancel".localized(), style: .destructive, handler: {_ in
-                ViewController.def?.thirdTab?.webView?.evaluateJavaScript("if(resumeAll){resumeAll();}")
+                if ViewController.def?.viewControllers?.firstIndex(of: (ViewController.def?.firstTab)!) == ViewController.def?.selectedIndex {
+                    ViewController.def?.firstTab?.webView?.evaluateJavaScript("if(resumeAll){resumeAll();}")
+                }
+                if ViewController.def?.viewControllers?.firstIndex(of: (ViewController.def?.thirdTab)!) == ViewController.def?.selectedIndex {
+                    ViewController.def?.thirdTab?.webView?.evaluateJavaScript("if(resumeAll){resumeAll();}")
+                }
             }))
             alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
                 ViewController.resetTabSelected()

+ 2 - 2
appbuilder-ios/NexilisLite/NexilisLite/Source/TMessage.swift

@@ -36,7 +36,7 @@ public class TMessage {
     public init() {
         mBodies[CoreMessage_TMessageKey.IMEI] = Nexilis.getCLMUserId()
 //        mBodies[CoreMessage_TMessageKey.VERCOD] = UIApplication.appVersion
-        mBodies[CoreMessage_TMessageKey.VERCOD] = "1.8.5.10"
+        mBodies[CoreMessage_TMessageKey.VERCOD] = "1.8.5.24"
     }
     
     public init(data : String) {
@@ -54,7 +54,7 @@ public class TMessage {
         mMedia = media
         mBodies[CoreMessage_TMessageKey.IMEI] = Nexilis.getCLMUserId()
 //        mBodies[CoreMessage_TMessageKey.VERCOD] = UIApplication.appVersion
-        mBodies[CoreMessage_TMessageKey.VERCOD] = "1.8.5.10"
+        mBodies[CoreMessage_TMessageKey.VERCOD] = "1.8.5.24"
     }
     
     public func clone(p_tmessage:TMessage) -> TMessage {

+ 1 - 1
src/mainPalio4.py

@@ -533,7 +533,7 @@ def build_apk():
         tabs = []
         tab3_mode = "0"
         tab_amount = 6
-        tab_icon = [None, None, None, None]
+        tab_icon = [None, None, None, None, None, None]
         fb_icon = [None, None, None, None, None]
         background = None
         version_code = "1"