diff --git a/Motivoo-iOS/Motivoo-iOS/Feature/Home/ViewControllers/HomeViewController.swift b/Motivoo-iOS/Motivoo-iOS/Feature/Home/ViewControllers/HomeViewController.swift index a1b92be..8cbd342 100644 --- a/Motivoo-iOS/Motivoo-iOS/Feature/Home/ViewControllers/HomeViewController.swift +++ b/Motivoo-iOS/Motivoo-iOS/Feature/Home/ViewControllers/HomeViewController.swift @@ -49,20 +49,19 @@ final class HomeViewController: BaseViewController { private var isStepZero: Bool = true private var guideURL = String() /// 나중에 인증 완료 API 들어오면 바인딩 +// private var isMissionCompleted: Bool = false private var isMissionCompleted: Bool = false { didSet { - if isMissionCompleted { - homeView.configureCheckButtonStyle(state: .checkCompleted) - } + print("미션 인증 이미지 완료 했는지 여부. 서버통신 하자마자 바뀌나요? -> \(isMissionCompleted)") } } private var isStepCountCompleted: Bool = false { didSet { if isStepCountCompleted { print("걸음수 달성 완료함!💦💦💦") - DispatchQueue.main.async { - self.homeView.configureCheckButtonStyle(state: .completed) - } +// DispatchQueue.main.async { +// self.homeView.configureCheckButtonStyle(state: .completed) +// } } if isStepCountCompleted && isMateStepCountCompleted { diff --git a/Motivoo-iOS/Motivoo-iOS/Feature/Home/Views/Main/HomeView.swift b/Motivoo-iOS/Motivoo-iOS/Feature/Home/Views/Main/HomeView.swift index 2d3af22..9f4a2c2 100644 --- a/Motivoo-iOS/Motivoo-iOS/Feature/Home/Views/Main/HomeView.swift +++ b/Motivoo-iOS/Motivoo-iOS/Feature/Home/Views/Main/HomeView.swift @@ -172,6 +172,7 @@ final class HomeView: BaseView { $0.titleLabel?.font = .body5 $0.isEnabled = true } + print("🔥🔥🔥🔥걸음수 인증 완료 버튼으로 바뀌었어요! 지금!") case .checkCompleted: checkMissionButton.do { $0.backgroundColor = .gray100 @@ -181,6 +182,8 @@ final class HomeView: BaseView { $0.titleLabel?.font = .body5 $0.isEnabled = false } + print("🔥🔥🔥🔥미션 인증 완료 버튼으로 바뀌었어요! 지금!") + } }