코인 -> 캔 변경
This commit is contained in:
@@ -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 {
|
||||
|
@@ -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(
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user