라이브 방 후원 다이얼로그 - 캔 불러오는 방식 수정
This commit is contained in:
parent
4e607ed624
commit
225efc34e4
|
@ -12,11 +12,12 @@ import Kingfisher
|
||||||
|
|
||||||
struct LiveRoomDonationDialogView: View {
|
struct LiveRoomDonationDialogView: View {
|
||||||
|
|
||||||
|
@AppStorage("can") private var can: Int = UserDefaults.int(forKey: .can)
|
||||||
|
|
||||||
@State private var donationCan = ""
|
@State private var donationCan = ""
|
||||||
@State private var donationMessage = ""
|
@State private var donationMessage = ""
|
||||||
@State private var isShowErrorPopup = false
|
@State private var isShowErrorPopup = false
|
||||||
@State private var errorMessage = ""
|
@State private var errorMessage = ""
|
||||||
@State private var can = 0
|
|
||||||
|
|
||||||
@Binding var isShowing: Bool
|
@Binding var isShowing: Bool
|
||||||
let isAudioContentDonation: Bool
|
let isAudioContentDonation: Bool
|
||||||
|
@ -243,9 +244,6 @@ struct LiveRoomDonationDialogView: View {
|
||||||
}
|
}
|
||||||
.offset(y: isAudioContentDonation ? 0 : 0 - keyboardHandler.keyboardHeight)
|
.offset(y: isAudioContentDonation ? 0 : 0 - keyboardHandler.keyboardHeight)
|
||||||
}
|
}
|
||||||
.onAppear {
|
|
||||||
self.can = UserDefaults.int(forKey: .can)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func limitText() {
|
func limitText() {
|
||||||
|
|
Loading…
Reference in New Issue