From 728510a72d35a3eb1483462d201cfde2654c47ca Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 22 Aug 2023 00:37:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8,=20=EC=BD=98=ED=85=90=EC=B8=A0=20=EA=B5=AC?= =?UTF-8?q?=EB=A7=A4=20=EC=B0=BD=EC=97=90=20=EC=BA=94=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=EC=BD=98=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/ContentListItemView.swift | 2 +- SodaLive/Sources/Content/ContentRepository.swift | 4 ++-- SodaLive/Sources/Content/Detail/ContentDetailViewModel.swift | 2 +- SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SodaLive/Sources/Content/ContentListItemView.swift b/SodaLive/Sources/Content/ContentListItemView.swift index 6b9deee..da38402 100644 --- a/SodaLive/Sources/Content/ContentListItemView.swift +++ b/SodaLive/Sources/Content/ContentListItemView.swift @@ -77,7 +77,7 @@ struct ContentListItemView: View { if item.price > 0 { HStack(spacing: 8) { - Image("ic_coin_w") + Image("ic_can") .resizable() .frame(width: 17, height: 17) diff --git a/SodaLive/Sources/Content/ContentRepository.swift b/SodaLive/Sources/Content/ContentRepository.swift index c30ead6..6a14b61 100644 --- a/SodaLive/Sources/Content/ContentRepository.swift +++ b/SodaLive/Sources/Content/ContentRepository.swift @@ -29,8 +29,8 @@ final class ContentRepository { return api.requestPublisher(.registerComment(request: RegisterAudioContentCommentRequest(comment: comment, contentId: audioContentId, parentId: parentId))) } - func orderAudioContent(audioContentId: Int, orderType: OrderType) -> AnyPublisher { - return api.requestPublisher(.orderAudioContent(request: OrderRequest(audioContentId: audioContentId, orderType: orderType))) + func orderAudioContent(contentId: Int, orderType: OrderType) -> AnyPublisher { + return api.requestPublisher(.orderAudioContent(request: OrderRequest(contentId: contentId, orderType: orderType))) } func getOrderList(page: Int, size: Int) -> AnyPublisher { diff --git a/SodaLive/Sources/Content/Detail/ContentDetailViewModel.swift b/SodaLive/Sources/Content/Detail/ContentDetailViewModel.swift index aa2b641..cec4c06 100644 --- a/SodaLive/Sources/Content/Detail/ContentDetailViewModel.swift +++ b/SodaLive/Sources/Content/Detail/ContentDetailViewModel.swift @@ -280,7 +280,7 @@ final class ContentDetailViewModel: ObservableObject { isShowPreviewAlert = false isLoading = true - repository.orderAudioContent(audioContentId: contentId, orderType: orderType) + repository.orderAudioContent(contentId: contentId, orderType: orderType) .sink { result in switch result { case .finished: diff --git a/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift b/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift index 2ad9493..c1cc0d2 100644 --- a/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift +++ b/SodaLive/Sources/Content/Detail/ContentOrderDialogView.swift @@ -71,7 +71,7 @@ struct ContentOrderDialogView: View { Spacer() HStack(spacing: 8) { - Image("ic_coin_w") + Image("ic_can") .resizable() .frame(width: 16.7, height: 16.7)