File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Runnect-iOS/Runnect-iOS/Presentation/CourseDrawing/VC Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,12 @@ extension CourseDrawingHomeVC {
5050// MARK: - @objc Function
5151extension CourseDrawingHomeVC {
5252 @objc private func pushToDepartureSearchVC( ) {
53+ guard UserManager . shared. userType != . visitor else {
54+ self . showToastOnWindow ( text: " 러넥트에 가입하면 코스를 업로드할 수 있어요. " )
55+
56+ analyze ( buttonName: GAEvent . Button. clickJoinInCourseDrawing)
57+ return
58+ }
5359
5460 analyze ( buttonName: GAEvent . Button. clickCourseDrawing)
5561
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ extension CourseDrawingVC {
262262 bottomSheetVC. modalPresentationStyle = . overFullScreen
263263 bottomSheetVC. completeButtonTapAction = { [ weak self] text in
264264 guard let self = self else { return }
265- guard handleVisitor ( ) else { return }
265+ guard bottomSheetVC . handleVisitor ( ) else { return } // 사실상 여기까지 못 들어오는게 맞음 (코스 그리기에서 막았다.)
266266 self . courseName = text
267267 self . mapView. capturePathImage ( )
268268 self . dismiss ( animated: false )
You can’t perform that action at this time.
0 commit comments