alqindiirsyam 1 год назад
Родитель
Сommit
ece802e3a1
1 измененных файлов с 1 добавлено и 17 удалено
  1. 1 17
      appbuilder-ios/AppBuilder/AppBuilder/AppDelegate.swift

+ 1 - 17
appbuilder-ios/AppBuilder/AppBuilder/AppDelegate.swift

@@ -16,23 +16,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
         if PrefsUtil.getCpaasMode() == PrefsUtil.CPAAS_MODE_FLOATING || PrefsUtil.getCpaasMode() == PrefsUtil.CPAAS_MODE_MIX {
             showButton = true
         }
-        Nexilis.connect(apiKey: "***REPLACE***WITH***YOUR***ACCOUNT***", delegate: self, showButton: showButton, fromMAB: true) //51D0C44F35AD837B27B2970885F9AE731EB1F867F542DDA173AF31497E01037A(CBN Palio Mall) //1C4FA430BC9F44484AFBE99C8974D70B68CE7891DBE83505CBF01205DE51FC18(CBN)
-//        let tabBarAppearance: UITabBarAppearance = UITabBarAppearance()
-//        tabBarAppearance.configureWithTransparentBackground()
-//        if Bundle.main.displayName == "DigiNetS" {
-//            tabBarAppearance.backgroundColor = .black.withAlphaComponent(0.7)
-//        } else {
-//            tabBarAppearance.backgroundColor = .white.withAlphaComponent(0.9)
-//        }
-//        if #available(iOS 13.0, *) {
-//            UITabBar.appearance().standardAppearance = tabBarAppearance
-//        }
-//        if #available(iOS 15.0, *) {
-//            UITabBar.appearance().scrollEdgeAppearance = tabBarAppearance
-//        }
-//        UITextField.appearance(whenContainedInInstancesOf: [UISearchBar.self]).defaultTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.black]
-//        let cancelButtonAttributes = [NSAttributedString.Key.foregroundColor: UIColor.black, NSAttributedString.Key.font : UIFont.systemFont(ofSize: 16)]
-//        UIBarButtonItem.appearance().setTitleTextAttributes(cancelButtonAttributes , for: .normal)
+        Nexilis.connect(apiKey: "***REPLACE***WITH***YOUR***ACCOUNT***", delegate: self, showButton: showButton, fromMAB: true) //23091CF494A11149F5A8FC8D17FF690DC69AE656F91B86070A11506ED24144F5(BPKH) //38747683290F62E9667A018F490396EAE47BC16ADECD85B7E865C733E6DBD6A2(OneApp)
         registerForPushNotifications()
         return true
     }