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)