Skip to content

Commit

Permalink
Merge pull request Health-Food-Me#262 from 0inn/feature/Health-Food-M…
Browse files Browse the repository at this point in the history
…e#261

[Fix] Health-Food-Me#261 - 햄버거바 로그인 관련 수정
  • Loading branch information
0inn authored Sep 13, 2022
2 parents d0d4359 + 30b3aa5 commit 99e5fae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ extension HamburgerBarVC {

[needLoginButton, needLoginImageButton].forEach {
$0.press {
self.presentSocialLoginAlert()
self.presentSocialLoginVC()
}
}
}
Expand All @@ -460,6 +460,15 @@ extension HamburgerBarVC {
}
}

private func presentSocialLoginVC() {
let rootViewController = ModuleFactory.resolve().makeLoginVC()
let navigation = UINavigationController(rootViewController: rootViewController)
navigation.isNavigationBarHidden = true
navigation.modalTransitionStyle = .crossDissolve
navigation.modalPresentationStyle = .fullScreen
self.present(navigation, animated: true)
}

private func pushSocialLoginVC() {
let loginVC = ModuleFactory.resolve().makeLoginVC()
self.navigationController?.pushViewController(loginVC, animated: true)
Expand Down

0 comments on commit 99e5fae

Please sign in to comment.