Skip to content

Commit 6a7d4ec

Browse files
committed
[#185] 주석제거
1 parent 0ac4ee4 commit 6a7d4ec

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

EATSSU_MVC/EATSSU_MVC/Sources/Presentation/Auth/View/LoginView.swift

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -72,40 +72,3 @@ final class LoginView: BaseUIView {
7272
}
7373
}
7474
}
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-
*/

0 commit comments

Comments
 (0)