|
@@ -195,11 +195,11 @@ class SecondTabViewController: UIViewController, UIScrollViewDelegate {
|
|
@objc func startConversation(){
|
|
@objc func startConversation(){
|
|
let navigationController = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "contactChatNav") as! UINavigationController
|
|
let navigationController = AppStoryBoard.Palio.instance.instantiateViewController(withIdentifier: "contactChatNav") as! UINavigationController
|
|
navigationController.modalPresentationStyle = .custom
|
|
navigationController.modalPresentationStyle = .custom
|
|
-// navigationController.navigationBar.tintColor = .white
|
|
|
|
|
|
+ navigationController.navigationBar.tintColor = .white
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.barTintColor = .mainColor
|
|
navigationController.navigationBar.isTranslucent = false
|
|
navigationController.navigationBar.isTranslucent = false
|
|
-// let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
|
|
-// navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
|
|
|
|
+ let textAttributes = [NSAttributedString.Key.foregroundColor:UIColor.white]
|
|
|
|
+ navigationController.navigationBar.titleTextAttributes = textAttributes
|
|
navigationController.view.backgroundColor = .mainColor
|
|
navigationController.view.backgroundColor = .mainColor
|
|
self.navigationController?.present(navigationController, animated: true, completion: nil)
|
|
self.navigationController?.present(navigationController, animated: true, completion: nil)
|
|
}
|
|
}
|