From 1ff24c9db1700030f27c7891b02d0c39985fa20a Mon Sep 17 00:00:00 2001 From: jeongdung-eo Date: Fri, 13 Jan 2023 20:12:13 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20#84=20-=20=EC=84=B1=EC=B7=A8=EB=B7=B0?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewControllers/AchievementViewController.swift | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/NotToDo/NotToDo/Presentation/AchievementScene/ViewControllers/AchievementViewController.swift b/NotToDo/NotToDo/Presentation/AchievementScene/ViewControllers/AchievementViewController.swift index 35a24de..ae4008e 100644 --- a/NotToDo/NotToDo/Presentation/AchievementScene/ViewControllers/AchievementViewController.swift +++ b/NotToDo/NotToDo/Presentation/AchievementScene/ViewControllers/AchievementViewController.swift @@ -13,9 +13,7 @@ import Then final class AchievementViewController: UIViewController { // MARK: - Properties - - var dataSource: [String: Int] = [:] - + var shouldHideMissionView: Bool? { didSet { guard let shouldHideMissionView = self.shouldHideMissionView else { return } @@ -30,7 +28,6 @@ final class AchievementViewController: UIViewController { private var titleView = TitleView() private lazy var segmentedControl = CustomSegmentedControl(items: [I18N.missionStatisticsMessage, I18N.situationStatisticsMessage]) private lazy var calendarView = CustomCalendar(frame: .zero) - private lazy var missionView = MissionStatisticsView(frame: view.bounds) private lazy var situationView = SituationStatisticsView(frame: view.bounds) private var bottomLabel = UILabel() @@ -42,7 +39,7 @@ final class AchievementViewController: UIViewController { var situationList: [SituationStatistcsResponseDTO] = [] var missionList: [MissionStatistcsResponseDTO] = [] - private var achieveMonth: String? + var dataSource: [String: Int] = [:] // MARK: - View Life Cycle @@ -274,7 +271,7 @@ extension AchievementViewController: FSCalendarDataSource { */ // 캘린더 셀 설정해주는 코드 : CollectionViewCell이랑 동일하게 생각하면 됨 - cell.configure(.bordered) + cell.configure(.step1) return cell } }