diff --git a/Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseEditVC.swift b/Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseEditVC.swift index 9fee3994..21b92a6b 100644 --- a/Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseEditVC.swift +++ b/Runnect-iOS/Runnect-iOS/Presentation/CourseDetail/VC/CourseEditVC.swift @@ -31,9 +31,7 @@ class CourseEditVC: UIViewController { private let editButton = CustomButton(title: "완료").setEnabled(false) private lazy var scrollView = UIScrollView() - private let mapImageView = UIImageView().then { - $0.image = UIImage(named: "") - } + private let mapImageView = UIImageView() private lazy var courseTitleTextField = UITextField().then { $0.attributedPlaceholder = NSAttributedString( string: "글 제목", @@ -388,7 +386,7 @@ extension CourseEditVC { case .success(let result): let status = result.statusCode if 200..<300 ~= status { - showToast(message: "게시글 수정이 완료되었어요") + self.showToast(message: "게시글 수정이 완료되었어요") } if status >= 400 { print("400 error") diff --git a/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/InfoVC/ActivityRecordDetailVC.swift b/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/InfoVC/ActivityRecordDetailVC.swift index 33436594..7030b17d 100644 --- a/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/InfoVC/ActivityRecordDetailVC.swift +++ b/Runnect-iOS/Runnect-iOS/Presentation/MyPage/VC/InfoVC/ActivityRecordDetailVC.swift @@ -517,7 +517,7 @@ extension ActivityRecordDetailVC { let status = result.statusCode if 200..<300 ~= status { print("제목 수정 성공") - showToast(message: "제목 수정이 완료되었어요") + self.showToast(message: "제목 수정이 완료되었어요") } if status >= 400 { print("400 error")