Commit a218ff2e authored by Alex朱枝文's avatar Alex朱枝文

消息页传参不显示右上角更多按钮

parent e03b9b3b
......@@ -495,6 +495,9 @@ extension YHMessageListVC {
// 3. 跳转
let vc = navigationController?.push(TUICore_TUIChatObjectFactory_ChatViewController_Classic, param: param, forResult: nil)
if let vc = vc as? TUIBaseChatViewController {
vc.navigationItem.rightBarButtonItem = nil
vc.navigationItem.rightBarButtonItems = nil
vc.needHideNaviMore = true
vc.filePreviewDelegate = self
}
}
......@@ -576,6 +579,9 @@ extension YHMessageListVC: UITableViewDelegate, UITableViewDataSource {
]
let vc = navigationController?.push(TUICore_TUIChatObjectFactory_ChatViewController_Classic, param: param, forResult: nil)
if let vc = vc as? TUIBaseChatViewController {
vc.navigationItem.rightBarButtonItem = nil
vc.navigationItem.rightBarButtonItems = nil
vc.needHideNaviMore = true
vc.filePreviewDelegate = self
}
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment