From 6048e214e3f60f75b88ceced0cb9bf98e9d8c5aa Mon Sep 17 00:00:00 2001 From: JOY Date: Fri, 1 Dec 2023 13:54:07 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20=EC=95=B1=EC=8A=A4=ED=86=A0=EC=96=B4?= =?UTF-8?q?=20=EC=97=85=EB=A1=9C=EB=93=9C=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Codingdong-iOS/Codingdong-iOS/Model/Fable.swift | 8 +++++--- .../ViewController/MyBookShelfViewController.swift | 2 +- .../SM_Ending/ViewModel/ReviewViewModel.swift | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Codingdong-iOS/Codingdong-iOS/Model/Fable.swift b/Codingdong-iOS/Codingdong-iOS/Model/Fable.swift index c0225c8..b7ff440 100644 --- a/Codingdong-iOS/Codingdong-iOS/Model/Fable.swift +++ b/Codingdong-iOS/Codingdong-iOS/Model/Fable.swift @@ -20,6 +20,8 @@ final class FableData { } -let fables = [FableData(title: "해님달님", isRead: true), - FableData(title: "콩쥐팥쥐", isRead: false), - FableData(title: "별주부전", isRead: false)] +//let fables = [FableData(title: "해님달님", isRead: true), +// FableData(title: "콩쥐팥쥐", isRead: false), +// FableData(title: "별주부전", isRead: false)] + +let fables = [FableData(title: "해님달님", isRead: true)] diff --git a/Codingdong-iOS/Codingdong-iOS/Presentation/Opening/ViewController/MyBookShelfViewController.swift b/Codingdong-iOS/Codingdong-iOS/Presentation/Opening/ViewController/MyBookShelfViewController.swift index 090c2ee..07027df 100644 --- a/Codingdong-iOS/Codingdong-iOS/Presentation/Opening/ViewController/MyBookShelfViewController.swift +++ b/Codingdong-iOS/Codingdong-iOS/Presentation/Opening/ViewController/MyBookShelfViewController.swift @@ -180,7 +180,7 @@ final class MyBookShelfViewController: UIViewController, ConfigUI { $0.top.equalTo(storyTitle.snp.bottom).offset(16) $0.left.equalToSuperview().offset(16) $0.right.equalToSuperview().offset(-16) - $0.height.equalTo(180) + $0.height.equalTo(60) } cookieContainer.snp.makeConstraints { diff --git a/Codingdong-iOS/Codingdong-iOS/Presentation/The Sun and the moon/SM_Ending/ViewModel/ReviewViewModel.swift b/Codingdong-iOS/Codingdong-iOS/Presentation/The Sun and the moon/SM_Ending/ViewModel/ReviewViewModel.swift index a6df403..7a24622 100644 --- a/Codingdong-iOS/Codingdong-iOS/Presentation/The Sun and the moon/SM_Ending/ViewModel/ReviewViewModel.swift +++ b/Codingdong-iOS/Codingdong-iOS/Presentation/The Sun and the moon/SM_Ending/ViewModel/ReviewViewModel.swift @@ -19,6 +19,6 @@ final class ReviewViewModel: ReviewViewModelRepresentable { var sendRoute: PassthroughSubject = .init() func endStory() { - CddDBService().updateFable(FableData(title: "콩쥐팥쥐", isRead: true)) + //CddDBService().updateFable(FableData(title: "콩쥐팥쥐", isRead: true)) } }