코인 -> 캔 변경
This commit is contained in:
@@ -108,9 +108,8 @@ struct LiveRoomDonationDialogView: View {
|
||||
.background(Color(hex: "9970ff"))
|
||||
.cornerRadius(6.7)
|
||||
.onTapGesture {
|
||||
if !donationCan.trimmingCharacters(in: .whitespaces).isEmpty,
|
||||
let coin = Int(donationCan) {
|
||||
donationCan = "\(coin + 100)"
|
||||
if !donationCan.trimmingCharacters(in: .whitespaces).isEmpty, let can = Int(donationCan) {
|
||||
donationCan = "\(can + 100)"
|
||||
} else {
|
||||
donationCan = "\(100)"
|
||||
}
|
||||
|
Reference in New Issue
Block a user