|
@@ -365,7 +365,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -402,7 +402,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -456,7 +456,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -500,7 +500,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -545,7 +545,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -589,7 +589,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|
|
@@ -627,7 +627,7 @@ public class FloatingButton: UIView {
|
|
|
let isChangeProfile = UserDefaults.standard.bool(forKey: "is_change_profile")
|
|
|
if !isChangeProfile {
|
|
|
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 navigationController = UINavigationController(rootViewController: controller)
|
|
|
navigationController.modalPresentationStyle = .custom
|