Commit 5883b7b6 authored by Steven杜宇's avatar Steven杜宇
parents 7b435ffb 5670a7b9
......@@ -164,8 +164,14 @@ class YHSurveyMatchResultViewController: YHBaseViewController {
@objc private func matchButtonClicked() {
if pageType == .success {
let vc = YHPlanViewController()
navigationController?.pushViewController(vc)
guard let navigationController = self.navigationController else {
return
}
let ctl = YHPlanViewController()
ctl.hidesBottomBarWhenPushed = true
var viewControllers = Array(navigationController.viewControllers.prefix(1))
viewControllers.append(ctl)
navigationController.setViewControllers(viewControllers, animated: true)
} else {
matchAgainEvent?()
navigationController?.popViewController()
......
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