feat: 라이브 후원 메시지 글자 수 조정
- 200자 -> 1000자
This commit is contained in:
@@ -35,8 +35,8 @@ android {
|
|||||||
applicationId "kr.co.vividnext.sodalive"
|
applicationId "kr.co.vividnext.sodalive"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 167
|
versionCode 169
|
||||||
versionName "1.37.0"
|
versionName "1.37.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class LiveRoomDonationDialog(
|
|||||||
dialogView.tvDonation.setOnClickListener {
|
dialogView.tvDonation.setOnClickListener {
|
||||||
try {
|
try {
|
||||||
val can = dialogView.etDonationCan.text.toString().toInt()
|
val can = dialogView.etDonationCan.text.toString().toInt()
|
||||||
val message = dialogView.etDonationMessage.text.toString().prefix(200)
|
val message = dialogView.etDonationMessage.text.toString().prefix(1000)
|
||||||
|
|
||||||
if (isLiveDonation) {
|
if (isLiveDonation) {
|
||||||
val isSecret = dialogView.tvSecret.isSelected
|
val isSecret = dialogView.tvSecret.isSelected
|
||||||
@@ -99,9 +99,9 @@ class LiveRoomDonationDialog(
|
|||||||
val isSelected = dialogView.tvSecret.isSelected
|
val isSelected = dialogView.tvSecret.isSelected
|
||||||
dialogView.tvSecret.isSelected = !isSelected
|
dialogView.tvSecret.isSelected = !isSelected
|
||||||
dialogView.etDonationMessage.hint = if (!isSelected) {
|
dialogView.etDonationMessage.hint = if (!isSelected) {
|
||||||
"비밀 미션을 입력하세요(최대 200자)"
|
"비밀 미션을 입력하세요(최대 1000자)"
|
||||||
} else {
|
} else {
|
||||||
"함께 보낼 메시지 입력(최대 200자)"
|
"함께 보낼 메시지 입력(최대 1000자)"
|
||||||
}
|
}
|
||||||
dialogView.etDonationCan.hint = if (!isSelected) {
|
dialogView.etDonationCan.hint = if (!isSelected) {
|
||||||
"10캔 이상 입력하세요"
|
"10캔 이상 입력하세요"
|
||||||
|
|||||||
@@ -198,10 +198,10 @@
|
|||||||
android:layout_marginStart="10.3dp"
|
android:layout_marginStart="10.3dp"
|
||||||
android:background="@drawable/bg_round_corner_6_7_88333333"
|
android:background="@drawable/bg_round_corner_6_7_88333333"
|
||||||
android:fontFamily="@font/gmarket_sans_medium"
|
android:fontFamily="@font/gmarket_sans_medium"
|
||||||
android:hint="함께 보낼 메시지 입력(최대 200자)"
|
android:hint="함께 보낼 메시지 입력(최대 1000자)"
|
||||||
android:importantForAutofill="no"
|
android:importantForAutofill="no"
|
||||||
android:inputType="text"
|
android:inputType="text"
|
||||||
android:maxLength="200"
|
android:maxLength="1000"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:padding="13.3dp"
|
android:padding="13.3dp"
|
||||||
android:textColor="@color/color_eeeeee"
|
android:textColor="@color/color_eeeeee"
|
||||||
|
|||||||
Reference in New Issue
Block a user