修改消息中心红点

This commit is contained in:
18401019693 2022-09-07 10:27:55 +08:00
parent 2bc5c8aeb6
commit 8b626dedd8
4 changed files with 7 additions and 6 deletions

View File

@ -35,9 +35,9 @@ import static com.yunbao.common.CommonAppContext.isReady;
*/ */
public class RongcloudIMManager { public class RongcloudIMManager {
//融云开发者平台注册app唯一识别符 //融云开发者平台注册app唯一识别符
// public static final String RONG_IM_KEY = "uwd1c0sxu1p71"; public static final String RONG_IM_KEY = "uwd1c0sxu1p71";
//测试环境 //测试环境
public static final String RONG_IM_KEY = "pvxdm17jpd3hr"; // public static final String RONG_IM_KEY = "pvxdm17jpd3hr";
private static final String CLASSNAME = "RongcloudIMManager"; private static final String CLASSNAME = "RongcloudIMManager";

View File

@ -10,9 +10,9 @@ ext {
manifestPlaceholders = [ manifestPlaceholders = [
// //
// serverHost : "https://napi.yaoulive.com", serverHost : "https://napi.yaoulive.com",
// //
serverHost : "https://ceshi.yaoulive.com", // serverHost : "https://ceshi.yaoulive.com",
// //
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",

View File

@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="match_parent">
<LinearLayout <LinearLayout
android:id="@+id/lt_nodata_msg" android:id="@+id/lt_nodata_msg"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center" android:gravity="center"
android:layout_centerVertical="true"
android:visibility="visible"> android:visibility="visible">
<ImageView <ImageView

View File

@ -1245,7 +1245,7 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
//红点(我的) //红点(我的)
@Subscribe(threadMode = ThreadMode.MAIN) @Subscribe(threadMode = ThreadMode.MAIN)
public void onUpdateFieldEvent(UpdateTablePointMe updateTablePointMe) { public void onUpdateFieldEvent(UpdateTablePointMe updateTablePointMe) {
numberMe = updateTablePointMe.getPoint(); // numberMe = updateTablePointMe.getPoint();
// if (updateTablePointMe.getPoint() == 0) { // if (updateTablePointMe.getPoint() == 0) {
// v_table_redpoint_me.setVisibility(View.VISIBLE); // v_table_redpoint_me.setVisibility(View.VISIBLE);
// } else { // } else {