File tree Expand file tree Collapse file tree 4 files changed +5
-29
lines changed
Codive/Features/LookBook/Presentation Expand file tree Collapse file tree 4 files changed +5
-29
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ struct AddCodiView: View {
8888 EditCodiOverlayView ( )
8989 . clipShape ( RoundedRectangle ( cornerRadius: 12 ) )
9090 }
91-
9291 } else if let imageURL = viewModel. selectedImageURL, !imageURL. isEmpty {
9392
9493 // MARK: Selected Image Preview
@@ -110,11 +109,7 @@ struct AddCodiView: View {
110109 EmptyView ( )
111110 }
112111 }
113-
114112 } else {
115-
116- // MARK: Empty State (Upload Prompt)
117-
118113 RoundedRectangle ( cornerRadius: 12 )
119114 . fill ( Color . gray. opacity ( 0.1 ) )
120115 . frame ( height: 335 )
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ struct EditCodiView: View {
5252 )
5353 )
5454 . padding ( . leading, 15 )
55-
5655 } else {
5756
5857 // MARK: Navigation Bar (No Changes)
Original file line number Diff line number Diff line change @@ -216,15 +216,7 @@ private struct LookBookContent: View {
216216private struct EmptyLookBookView : View {
217217
218218 var body : some View {
219- VStack ( spacing: 16 ) {
220- Image ( systemName: " photo.on.rectangle.angled " )
221- . font ( . system( size: 60 ) )
222- . foregroundStyle ( . gray)
223-
224- Text ( " 아직 룩북이 없습니다 " )
225- . font ( . headline)
226- . foregroundStyle ( . gray)
227- }
228- . frame ( maxWidth: . infinity, maxHeight: . infinity)
219+ Color . white
220+ . frame ( maxWidth: . infinity, maxHeight: . infinity)
229221 }
230222}
Original file line number Diff line number Diff line change @@ -123,20 +123,10 @@ final class SpecificLookBookViewModel: ObservableObject {
123123 isShowingDeleteAlert = false
124124 isLoading = true
125125
126- let idsToDelete = Array ( selectedCodiIds)
127-
128126 Task {
129- do {
130- // 참고: useCase에 deleteCodis가 구현되어 있어야 합니다.
131- // try await useCase.deleteCodis(ids: idsToDelete)
132-
133- // 삭제 후 목록 새로고침 및 편집모드 종료
134- fetchCodis ( )
135- toggleEditingMode ( )
136- } catch {
137- self . errorMessage = " 삭제에 실패했습니다: \( error. localizedDescription) "
138- self . isLoading = false
139- }
127+ // 삭제 후 목록 새로고침 및 편집모드 종료
128+ fetchCodis ( )
129+ toggleEditingMode ( )
140130 }
141131 }
142132
You can’t perform that action at this time.
0 commit comments