From 260a6b91f3e771658edeee155ec885999d25a11e Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 3 Apr 2024 13:44:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=20[=E5=8F=8D=E9=A6=88=E5=86=85=E5=AE=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/share/ui/AppInternalShareDialog.java | 3 +++ Share/src/main/res/layout/dialog_shrea_internal.xml | 2 +- common/src/main/res/layout/view_message_say_hi_now_notify.xml | 2 +- main/src/main/java/com/yunbao/main/activity/MainActivity.java | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java b/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java index abb2963..3b26714 100644 --- a/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java +++ b/Share/src/main/java/com/yunbao/share/ui/AppInternalShareDialog.java @@ -3,6 +3,7 @@ package com.yunbao.share.ui; import android.content.Context; import android.text.Editable; import android.text.TextWatcher; +import android.util.Log; import android.widget.EditText; import androidx.annotation.NonNull; @@ -11,7 +12,9 @@ import androidx.recyclerview.widget.RecyclerView; import com.lxj.xpopup.XPopup; import com.pdlive.shayu.R; import com.yunbao.common.dialog.AbsDialogFullScreenPopupWindow; +import com.yunbao.common.dialog.DebugDialog; import com.yunbao.common.interfaces.OnItemClickListener; +import com.yunbao.common.utils.AppManager; import com.yunbao.common.utils.StringUtil; import com.yunbao.common.utils.ToastUtil; import com.yunbao.share.adapters.InternalShareAdapter; diff --git a/Share/src/main/res/layout/dialog_shrea_internal.xml b/Share/src/main/res/layout/dialog_shrea_internal.xml index 67cdeaa..c364d44 100644 --- a/Share/src/main/res/layout/dialog_shrea_internal.xml +++ b/Share/src/main/res/layout/dialog_shrea_internal.xml @@ -95,7 +95,7 @@ android:layout_width="168dp" android:layout_height="54dp" android:layout_marginBottom="20dp" - android:background="@drawable/bg_msg_address_book_user_btn_fan" + android:background="@drawable/bg_msg_address_book_user_btn_fan_cuia" android:gravity="center" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/common/src/main/res/layout/view_message_say_hi_now_notify.xml b/common/src/main/res/layout/view_message_say_hi_now_notify.xml index 97b0230..4815d4c 100644 --- a/common/src/main/res/layout/view_message_say_hi_now_notify.xml +++ b/common/src/main/res/layout/view_message_say_hi_now_notify.xml @@ -109,7 +109,7 @@ android:layout_width="168dp" android:layout_height="54dp" android:layout_marginBottom="20dp" - android:background="@drawable/bg_msg_address_book_user_btn_fan" + android:background="@drawable/bg_msg_address_book_user_btn_fan_cuia" android:gravity="center" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index d6c7dce..b2f2844 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -234,6 +234,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene .postDelayed(new Runnable() { @Override public void run() { + ConversationIMListManager.get(mContext).addUserInfoProvider(); } }, 1000); UserInfoManager.updateMyInfo(this, null); @@ -277,7 +278,6 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene RCRTCConfig.Builder config = RCRTCConfig.Builder.create(); config.enableEncoderTexture(false);//新娱美颜 需要关闭这个 RCRTCEngine.getInstance().init(MainActivity.this, config.build()); - ConversationIMListManager.get(mContext).addUserInfoProvider(); requestNotReadMessage(); //推送跳直播间 if (getIntent().getStringExtra("liveid") != null) {