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

This commit is contained in:
klaus 2023-08-28 18:15:57 +09:00
parent 91af371523
commit 110fcab710
3 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

@ -441,7 +441,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:fontFamily="@font/gmarket_sans_medium"
android:text="※ 대여가격은 소장가격의 70%로 자동 반영"
android:text="※ 대여가격은 소장가격의 60%로 자동 반영"
android:textColor="@color/color_777777"
android:textSize="13.3sp" />
@ -450,7 +450,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:fontFamily="@font/gmarket_sans_medium"
android:text="※ 콘텐츠의 최소금액은 10캔 입니다"
android:text="※ 콘텐츠의 최소금액은 5캔 입니다"
android:textColor="@color/color_777777"
android:textSize="13.3sp" />
</LinearLayout>