코인 -> 캔 변경

This commit is contained in:
Yu Sung
2023-08-15 01:27:30 +09:00
parent 0f8b740469
commit 0959fa55be
17 changed files with 35 additions and 36 deletions

View File

@@ -36,7 +36,7 @@ struct UserDonationRankingResponse: Decodable {
let userId: Int
let nickname: String
let profileImage: String
let donationCoin: Int?
let donationCan: Int?
}
struct SimilarCreatorResponse: Decodable {

View File

@@ -130,7 +130,7 @@ struct UserProfileLiveView: View {
onClickParticipant(liveRoom)
}
} else {
Text("\(liveRoom.price)코인으로 지금 참여하기")
Text("\(liveRoom.price)으로 지금 참여하기")
.font(.custom(Font.bold.rawValue, size: 13.3))
.foregroundColor(Color(hex: "ffffff"))
.frame(
@@ -155,7 +155,7 @@ struct UserProfileLiveView: View {
.background(Color(hex: "525252"))
.cornerRadius(5.3)
} else {
Text("\(liveRoom.price > 0 ? "\(liveRoom.price)코인으로 " : "")예약하기")
Text("\(liveRoom.price > 0 ? "\(liveRoom.price)으로 " : "")예약하기")
.font(.custom(Font.bold.rawValue, size: 13.3))
.foregroundColor(Color(hex: "000000"))
.frame(

View File

@@ -122,7 +122,7 @@ final class UserProfileViewModel: ObservableObject {
if ($0.price == 0 || $0.isPaid) {
self.reservation(roomId: roomId)
} else {
self.paymentDialogTitle = "\($0.price)코인으로 예약"
self.paymentDialogTitle = "\($0.price)으로 예약"
self.paymentDialogDesc = "'\($0.title)' 라이브에 참여하기 위해 결제합니다."
self.paymentDialogConfirmTitle = "결제 후 예약하기"
self.paymentDialogConfirmAction = { [unowned self] in
@@ -200,7 +200,7 @@ final class UserProfileViewModel: ObservableObject {
}
self.isShowPasswordDialog = true
} else {
self.paymentDialogTitle = "\($0.price)코인으로 입장"
self.paymentDialogTitle = "\($0.price)으로 입장"
self.paymentDialogDesc = "'\($0.title)' 라이브에 참여하기 위해 결제합니다."
self.paymentDialogConfirmTitle = "결제 후 참여하기"
self.paymentDialogConfirmAction = { [unowned self] in