|
@@ -505,7 +505,8 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
@@ -514,6 +515,8 @@ public class Nexilis: NSObject {
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
if UIApplication.shared.visibleViewController?.navigationController != nil {
|
|
if UIApplication.shared.visibleViewController?.navigationController != nil {
|
|
UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
|
|
UIApplication.shared.visibleViewController?.navigationController?.present(navigationController, animated: true, completion: nil)
|
|
} else {
|
|
} else {
|
|
@@ -542,6 +545,8 @@ public class Nexilis: NSObject {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -557,12 +562,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -584,6 +592,8 @@ public class Nexilis: NSObject {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -599,12 +609,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -627,6 +640,8 @@ public class Nexilis: NSObject {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -642,12 +657,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -669,6 +687,8 @@ public class Nexilis: NSObject {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -684,12 +704,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -722,12 +745,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -750,6 +776,8 @@ public class Nexilis: NSObject {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -766,12 +794,15 @@ public class Nexilis: NSObject {
|
|
if !isChangeProfile {
|
|
if !isChangeProfile {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -2113,6 +2144,8 @@ extension Nexilis: MessageDelegate {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -2479,6 +2512,8 @@ extension Nexilis: MessageDelegate {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -2871,12 +2906,15 @@ extension Nexilis: MessageDelegate {
|
|
if (cursorData.string(forColumnIndex: 0)! + " " + cursorData.string(forColumnIndex: 1)!).trimmingCharacters(in: .whitespaces) == "USR\(UserDefaults.standard.string(forKey: "me")!)" {
|
|
if (cursorData.string(forColumnIndex: 0)! + " " + cursorData.string(forColumnIndex: 1)!).trimmingCharacters(in: .whitespaces) == "USR\(UserDefaults.standard.string(forKey: "me")!)" {
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
let alert = UIAlertController(title: "Change Profile".localized(), message: "You must change your name to use this feature".localized(), preferredStyle: .alert)
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
alert.addAction(UIAlertAction(title: "OK".localized(), style: UIAlertAction.Style.default, handler: {(_) in
|
|
- let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "changeNS") as! ChangeNamePassswordViewController
|
|
|
|
|
|
+ let controller = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "signupsignin") as! SignUpSignIn
|
|
|
|
+ controller.forceLogin = true
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
let navigationController = UINavigationController(rootViewController: controller)
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.modalPresentationStyle = .fullScreen
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -2916,6 +2954,8 @@ extension Nexilis: MessageDelegate {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
@@ -2987,6 +3027,8 @@ extension Nexilis: MessageDelegate {
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
|
|
+ navigationController.navigationBar.overrideUserInterfaceStyle = .dark
|
|
|
|
+ navigationController.navigationBar.barStyle = .black
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|