Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,9 @@ extension CourseDetailVC {
let status = result.statusCode
if 200..<300 ~= status {
print("삭제 성공")
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.navigationController?.popViewController(animated: true)
}
}
if status >= 400 {
print("400 error")
Expand Down Expand Up @@ -556,7 +559,6 @@ extension CourseDetailVC {
deleteAlertVC.rightButtonTapAction = {
deleteAlertVC.dismiss(animated: false)
self.deleteCourse()
self.navigationController?.popViewController(animated: true)
}
self.present(deleteAlertVC, animated: false)
case "신고하기":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ final class UploadedCourseInfoVC: UIViewController {
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.hideTabBar(wantsToHide: true)
getUploadedCourseInfo()
}
}

Expand Down