fix(live-room): 유료 라이브 최소 30캔 검증을 추가한다
This commit is contained in:
@@ -353,6 +353,12 @@ final class LiveRoomCreateViewModel: ObservableObject {
|
||||
self.isShowPopup = true
|
||||
return false
|
||||
}
|
||||
|
||||
if price > 0 && price < 30 {
|
||||
self.errorMessage = I18n.CreateLive.enterPaidPriceMin30
|
||||
self.isShowPopup = true
|
||||
return false
|
||||
}
|
||||
|
||||
if roomType == .PRIVATE && (password.trimmingCharacters(in: .whitespaces).isEmpty || password.count != 6) {
|
||||
self.errorMessage = I18n.CreateLive.enterPassword6
|
||||
|
||||
Reference in New Issue
Block a user