콘텐츠 등록 - 5캔(500원) 부터 등록되도록 수정, 대여가격 안내 60%로 수정

This commit is contained in:
Yu Sung 2023-08-28 18:20:58 +09:00
parent 594bcc27ca
commit 3916a49e60
2 changed files with 5 additions and 5 deletions

View File

@ -221,7 +221,7 @@ struct ContentCreateView: View {
.frame(maxWidth: .infinity, alignment: .leading)
HStack(spacing: 0) {
TextField("가격을 입력하세요(10캔 이상)", text: $viewModel.priceString)
TextField("가격을 입력하세요(5캔 이상)", text: $viewModel.priceString)
.autocapitalization(.none)
.disableAutocorrection(true)
.font(.custom(Font.bold.rawValue, size: 14.7))
@ -253,12 +253,12 @@ struct ContentCreateView: View {
.frame(maxWidth: .infinity, alignment: .leading)
.padding(.top, 13.3)
Text("※ 대여가격은 소장가격의 70%로 자동 반영")
Text("※ 대여가격은 소장가격의 60%로 자동 반영")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "777777"))
.frame(maxWidth: .infinity, alignment: .leading)
Text("※ 콘텐츠의 최소금액은 10캔 입니다")
Text("※ 콘텐츠의 최소금액은 5캔 입니다")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "777777"))
.frame(maxWidth: .infinity, alignment: .leading)

View File

@ -205,8 +205,8 @@ final class ContentCreateViewModel: ObservableObject {
return false
}
if !isFree && price < 10 {
errorMessage = "콘텐츠의 최소금액은 10캔 입니다."
if !isFree && price < 5 {
errorMessage = "콘텐츠의 최소금액은 5캔 입니다."
isShowPopup = true
return false
}