라이브 방 후원 다이얼로그 - 캔 불러오는 방식 수정

This commit is contained in:
Yu Sung 2023-09-21 23:03:28 +09:00
parent 4e607ed624
commit 225efc34e4
1 changed files with 2 additions and 4 deletions

View File

@ -12,11 +12,12 @@ import Kingfisher
struct LiveRoomDonationDialogView: View {
@AppStorage("can") private var can: Int = UserDefaults.int(forKey: .can)
@State private var donationCan = ""
@State private var donationMessage = ""
@State private var isShowErrorPopup = false
@State private var errorMessage = ""
@State private var can = 0
@Binding var isShowing: Bool
let isAudioContentDonation: Bool
@ -243,9 +244,6 @@ struct LiveRoomDonationDialogView: View {
}
.offset(y: isAudioContentDonation ? 0 : 0 - keyboardHandler.keyboardHeight)
}
.onAppear {
self.can = UserDefaults.int(forKey: .can)
}
}
func limitText() {