File tree 1 file changed +0
-37
lines changed
EATSSU_MVC/EATSSU_MVC/Sources/Presentation/Auth/View
1 file changed +0
-37
lines changed Original file line number Diff line number Diff line change @@ -72,40 +72,3 @@ final class LoginView: BaseUIView {
72
72
}
73
73
}
74
74
}
75
-
76
- /*
77
- @objc
78
- private func rightBarButtonTapped() {
79
- if RealmService.shared.isAccessTokenPresent() {
80
- let nextVC = MyPageViewController()
81
- self.navigationController?.pushViewController(nextVC, animated: true)
82
- } else {
83
- // showAlertControllerWithCancel(title: "로그인이 필요한 서비스입니다", message: "로그인 하시겠습니까?", confirmStyle: .default) {
84
- // self.changeIntoLoginViewController()
85
- // }
86
-
87
- let modalVC = LoginPromptViewController()
88
- modalVC.modalPresentationStyle = .pageSheet
89
-
90
- // Check if UISheetPresentationController is available (iOS 15+)
91
- if let sheet = modalVC.sheetPresentationController {
92
- let small = UISheetPresentationController.Detent.Identifier("small")
93
- // let smallDetent = UISheetPresentationController.Detent.custom(identifier: smallId) { context in
94
- // return 270
95
- // }
96
- // sheet.detents = [smallDetent]
97
- sheet.detents = [
98
- .custom(identifier: small) { context in
99
- 0.3 * context.maximumDetentValue
100
- }
101
- ]
102
-
103
- // sheet.prefersGrabberVisible = true
104
- sheet.prefersScrollingExpandsWhenScrolledToEdge = false
105
- sheet.preferredCornerRadius = 30
106
- }
107
- present(modalVC, animated: true, completion: nil)
108
-
109
- }
110
- }
111
- */
You can’t perform that action at this time.
0 commit comments