6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-16 16:23:28 +08:00
parent 60ce5572cf
commit 9bce235817
4 changed files with 19 additions and 10 deletions

View File

@ -23,6 +23,9 @@ public class GiftWallGiftDetail extends BaseModel {
} }
public String getUserNicename() { public String getUserNicename() {
if (userNicename.length() > 5) {
userNicename = userNicename.substring(0, 5) + "...";
}
return userNicename; return userNicename;
} }

View File

@ -128,15 +128,21 @@
android:text="@string/regular_bubble" android:text="@string/regular_bubble"
android:textColor="#6F43FF" android:textColor="#6F43FF"
android:textSize="12sp" /> android:textSize="12sp" />
<FrameLayout
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/achievement_img_list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="60dp"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:background="@drawable/background_achievement_details_list"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:layout_marginEnd="8dp" /> android:background="@drawable/background_achievement_details_list"
android:layout_marginEnd="8dp">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/achievement_img_list"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_height="match_parent" />
</FrameLayout>
<TextView <TextView
android:id="@+id/gift_details_btn2" android:id="@+id/gift_details_btn2"

View File

@ -9,9 +9,9 @@ ext {
] ]
manifestPlaceholders = [ manifestPlaceholders = [
// //
serverHost : "https://napi.yaoulive.com", // serverHost : "https://napi.yaoulive.com",
// //
// serverHost : "https://ceshi.yaoulive.com", serverHost : "https://ceshi.yaoulive.com",

View File

@ -1102,7 +1102,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
if (goldText != null) { if (goldText != null) {
goldText.setText(goldCoin); goldText.setText(goldCoin);
} }
if (mGiftBean.getType() == LiveGiftBean2.TYPE_NORMAL && !mGiftBean.getSwf().contains("svga")) { if (!mGiftBean.getSwf().contains("svga")) {
showLianBtn(); showLianBtn();
} }
if (mGiftBean.getType() == 7) { if (mGiftBean.getType() == 7) {