fix(live-room): 유료 라이브 최소 30캔 검증을 추가한다

This commit is contained in:
Yu Sung
2026-02-25 15:30:38 +09:00
parent aaffd08cb5
commit 7ff9360b1e
3 changed files with 22 additions and 0 deletions

View File

@@ -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