콘텐츠 등록 - 5캔(500원) 부터 등록되도록 수정, 대여가격 안내 60%로 수정
This commit is contained in:
parent
91af371523
commit
110fcab710
|
@ -58,7 +58,7 @@ class AudioContentOrderConfirmDialog(
|
||||||
|
|
||||||
dialogView.tvDuration.text = duration
|
dialogView.tvDuration.text = duration
|
||||||
dialogView.tvPrice.text = if (orderType == OrderType.RENTAL) {
|
dialogView.tvPrice.text = if (orderType == OrderType.RENTAL) {
|
||||||
"${ceil(price * 0.7).toInt()}"
|
"${ceil(price * 0.6).toInt()}"
|
||||||
} else {
|
} else {
|
||||||
"$price"
|
"$price"
|
||||||
}
|
}
|
||||||
|
|
|
@ -211,8 +211,8 @@ class AudioContentUploadViewModel(
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isPriceFreeLiveData.value!! && price < 10) {
|
if (!isPriceFreeLiveData.value!! && price < 5) {
|
||||||
_toastLiveData.postValue("콘텐츠의 최소금액은 10캔 입니다.")
|
_toastLiveData.postValue("콘텐츠의 최소금액은 5캔 입니다.")
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -441,7 +441,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:text="※ 대여가격은 소장가격의 70%로 자동 반영"
|
android:text="※ 대여가격은 소장가격의 60%로 자동 반영"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="13.3sp" />
|
android:textSize="13.3sp" />
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:text="※ 콘텐츠의 최소금액은 10캔 입니다"
|
android:text="※ 콘텐츠의 최소금액은 5캔 입니다"
|
||||||
android:textColor="@color/color_777777"
|
android:textColor="@color/color_777777"
|
||||||
android:textSize="13.3sp" />
|
android:textSize="13.3sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in New Issue