|
@@ -159,7 +159,7 @@ extension NCLoginWeb: WKNavigationDelegate {
|
|
|
appDelegate.settingActiveAccount(account, activeUrl: serverUrl, activeUser: username, activeUserID: tableAccount.userID, activePassword: token)
|
|
|
|
|
|
if (CCUtility.getIntro()) {
|
|
|
- NotificationCenter.default.post(name: NSNotification.Name(rawValue: "initializeMain"), object: nil, userInfo: nil)
|
|
|
+ NotificationCenter.default.post(name: NSNotification.Name(rawValue: k_notificationCenter_initializeMain), object: nil, userInfo: nil)
|
|
|
self.dismiss(animated: true)
|
|
|
|
|
|
} else {
|
|
@@ -167,7 +167,7 @@ extension NCLoginWeb: WKNavigationDelegate {
|
|
|
if (self.presentingViewController == nil) {
|
|
|
let splitController = UIStoryboard(name: "Main", bundle: nil).instantiateInitialViewController()
|
|
|
splitController?.modalPresentationStyle = .fullScreen
|
|
|
- NotificationCenter.default.post(name: NSNotification.Name(rawValue: "initializeMain"), object: nil, userInfo: nil)
|
|
|
+ NotificationCenter.default.post(name: NSNotification.Name(rawValue: k_notificationCenter_initializeMain), object: nil, userInfo: nil)
|
|
|
splitController!.view.alpha = 0
|
|
|
appDelegate.window.rootViewController = splitController!
|
|
|
appDelegate.window.makeKeyAndVisible()
|
|
@@ -175,7 +175,7 @@ extension NCLoginWeb: WKNavigationDelegate {
|
|
|
splitController!.view.alpha = 1
|
|
|
}
|
|
|
} else {
|
|
|
- NotificationCenter.default.post(name: NSNotification.Name(rawValue: "initializeMain"), object: nil, userInfo: nil)
|
|
|
+ NotificationCenter.default.post(name: NSNotification.Name(rawValue: k_notificationCenter_initializeMain), object: nil, userInfo: nil)
|
|
|
self.dismiss(animated: true)
|
|
|
}
|
|
|
}
|