Merge remote-tracking branch 'origin/dev_680_礼物展馆' into dev_680_礼物展馆

This commit is contained in:
Martin 2024-07-17 11:07:20 +08:00
commit 854cad8ec6
5 changed files with 16 additions and 5 deletions

View File

@ -23,10 +23,15 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }
compileOptions {
sourceCompatibility JavaVersion.VERSION_18
targetCompatibility JavaVersion.VERSION_18
}
} }
dependencies { dependencies {
implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.core:core-ktx:1.10.1'
} }
//apply from: "$gradleHost/master/publish.gradle" //apply from: "$gradleHost/master/publish.gradle"

View File

@ -1489,7 +1489,7 @@ open class DslTabLayout(
val _gestureDetector: GestureDetectorCompat by lazy { val _gestureDetector: GestureDetectorCompat by lazy {
GestureDetectorCompat(context, object : GestureDetector.SimpleOnGestureListener() { GestureDetectorCompat(context, object : GestureDetector.SimpleOnGestureListener() {
override fun onFling( override fun onFling(
e1: MotionEvent, e1: MotionEvent?,
e2: MotionEvent, e2: MotionEvent,
velocityX: Float, velocityX: Float,
velocityY: Float velocityY: Float
@ -1510,7 +1510,7 @@ open class DslTabLayout(
} }
override fun onScroll( override fun onScroll(
e1: MotionEvent, e1: MotionEvent?,
e2: MotionEvent, e2: MotionEvent,
distanceX: Float, distanceX: Float,
distanceY: Float distanceY: Float

View File

@ -185,6 +185,9 @@ public class GiftWallGiftInfoDialog extends AbsDialogPopupWindow {
tab2.setBackgroundResource(R.drawable.gift_wall_gift_info_list_btn_down); tab2.setBackgroundResource(R.drawable.gift_wall_gift_info_list_btn_down);
tab2.setTextColor(Color.parseColor("#FFFFFF")); tab2.setTextColor(Color.parseColor("#FFFFFF"));
list_type = 1; list_type = 1;
((TextView) findViewById(R.id.user_name)).setText(WordUtil.getNewString(R.string.dialog_gift_wall_list_info_list_header_rename1));
((TextView) findViewById(R.id.tv_rename)).setText(WordUtil.getNewString(R.string.dialog_gift_wall_list_info_list_header_rename_value1));
initData(); initData();
}); });
ViewClicksAntiShake.clicksAntiShake(tab2, () -> { ViewClicksAntiShake.clicksAntiShake(tab2, () -> {
@ -355,7 +358,7 @@ public class GiftWallGiftInfoDialog extends AbsDialogPopupWindow {
btn_one_tips.setText(String.format(Locale.getDefault(), "%s%s%s" btn_one_tips.setText(String.format(Locale.getDefault(), "%s%s%s"
, WordUtil.isNewZh() ? "" : "Need", , WordUtil.isNewZh() ? "" : "Need",
tmp, tmp,
WordUtil.isNewZh() ? "" : "")); WordUtil.isNewZh() ? "" : ""));
} }
private void loadChampion(GiftWallInfoBean giftBean) { private void loadChampion(GiftWallInfoBean giftBean) {

View File

@ -1535,4 +1535,6 @@
<string name="dialog_gift_wall_hide">已隐藏</string> <string name="dialog_gift_wall_hide">已隐藏</string>
<string name="dialog_gift_wall_classic_wait">等待冠名</string> <string name="dialog_gift_wall_classic_wait">等待冠名</string>
<string name="dialog_gift_wall_assistance_wait">等待助力</string> <string name="dialog_gift_wall_assistance_wait">等待助力</string>
<string name="dialog_gift_wall_assistance_user">助力用户</string>
<string name="dialog_gift_wall_assistance_star">助力值</string>
</resources> </resources>

View File

@ -1541,7 +1541,8 @@
<string name="dialog_gift_wall_assistance_wait">Waiting for assistance</string> <string name="dialog_gift_wall_assistance_wait">Waiting for assistance</string>
<string name="live_guard_buy_coupon_tips_use">Use</string> <string name="live_guard_buy_coupon_tips_use">Use</string>
<string name="live_guard_buy_coupon_tips_cancel">Not use</string> <string name="live_guard_buy_coupon_tips_cancel">Not use</string>
<string name="dialog_gift_wall_assistance_user">Assist users</string>
<string name="dialog_gift_wall_assistance_star">Value</string>
<string name="sub_admission_fee">*10% of the threshold will be charged as ticket</string> <string name="sub_admission_fee">*10% of the threshold will be charged as ticket</string>
</resources> </resources>