콘텐츠 등록 - 5캔(500원) 부터 등록되도록 수정, 대여가격 안내 60%로 수정
This commit is contained in:
@@ -58,7 +58,7 @@ class AudioContentOrderConfirmDialog(
|
||||
|
||||
dialogView.tvDuration.text = duration
|
||||
dialogView.tvPrice.text = if (orderType == OrderType.RENTAL) {
|
||||
"${ceil(price * 0.7).toInt()}"
|
||||
"${ceil(price * 0.6).toInt()}"
|
||||
} else {
|
||||
"$price"
|
||||
}
|
||||
|
@@ -211,8 +211,8 @@ class AudioContentUploadViewModel(
|
||||
return false
|
||||
}
|
||||
|
||||
if (!isPriceFreeLiveData.value!! && price < 10) {
|
||||
_toastLiveData.postValue("콘텐츠의 최소금액은 10캔 입니다.")
|
||||
if (!isPriceFreeLiveData.value!! && price < 5) {
|
||||
_toastLiveData.postValue("콘텐츠의 최소금액은 5캔 입니다.")
|
||||
return false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user