코인 -> 캔 변경
This commit is contained in:
@@ -725,7 +725,7 @@ struct LiveRoomCreateView: View {
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("코인")
|
||||
Text("캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.foregroundColor(
|
||||
Color(hex: "9970ff")
|
||||
@@ -754,7 +754,7 @@ struct LiveRoomCreateView: View {
|
||||
@ViewBuilder
|
||||
func PriceButtonView(price: Int, buttonWidth: CGFloat) -> some View {
|
||||
HStack(spacing: 6.7) {
|
||||
Text(price == 0 ? "무료" : "\(price) 코인")
|
||||
Text(price == 0 ? "무료" : "\(price) 캔")
|
||||
.font(.custom(
|
||||
viewModel.price == price ?
|
||||
Font.bold.rawValue :
|
||||
|
@@ -67,7 +67,7 @@ struct LiveRoomDonationRankingItemView: View {
|
||||
Spacer()
|
||||
|
||||
if item.can > 0 {
|
||||
Text("\(item.can) 코인")
|
||||
Text("\(item.can) 캔")
|
||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||
.foregroundColor(Color(hex: "eeeeee"))
|
||||
}
|
||||
|
@@ -321,7 +321,7 @@ final class LiveRoomViewModel: NSObject, ObservableObject {
|
||||
self.isLoading = false
|
||||
|
||||
if decoded.success {
|
||||
let rawMessage = "\(can)코인을 후원하셨습니다."
|
||||
let rawMessage = "\(can)캔을 후원하셨습니다."
|
||||
let donationRawMessage = LiveRoomChatRawMessage(
|
||||
type: .DONATION,
|
||||
message: rawMessage,
|
||||
@@ -377,7 +377,7 @@ final class LiveRoomViewModel: NSObject, ObservableObject {
|
||||
}
|
||||
.store(in: &subscription)
|
||||
} else {
|
||||
popupContent = "1코인 이상 후원하실 수 있습니다."
|
||||
popupContent = "1캔 이상 후원하실 수 있습니다."
|
||||
isShowPopup = true
|
||||
}
|
||||
}
|
||||
@@ -409,14 +409,14 @@ final class LiveRoomViewModel: NSObject, ObservableObject {
|
||||
if let message = decoded.message {
|
||||
self.errorMessage = message
|
||||
} else {
|
||||
self.popupContent = "후원에 실패한 코인이 환불되지 않았습니다\n고객센터로 문의해주세요."
|
||||
self.popupContent = "후원에 실패한 캔이 환불되지 않았습니다\n고객센터로 문의해주세요."
|
||||
}
|
||||
|
||||
self.isShowPopup = true
|
||||
}
|
||||
} catch {
|
||||
self.isLoading = false
|
||||
self.popupContent = "후원에 실패한 코인이 환불되지 않았습니다\n고객센터로 문의해주세요."
|
||||
self.popupContent = "후원에 실패한 캔이 환불되지 않았습니다\n고객센터로 문의해주세요."
|
||||
self.isShowPopup = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user