实名认证和一些其他bug fix
This commit is contained in:
@@ -1919,7 +1919,9 @@ public class MessageView extends FrameLayout {
|
||||
LuckyBagGifts luckyGiftInfo = giftAttachment.getMultiLuckyGiftReceiveInfo();
|
||||
for (int i = 0; i < luckyGiftInfo.getGiftList().size(); i++) {
|
||||
GiftInfo giftInfo = GiftModel.get().findGiftInfoById(luckyGiftInfo.getGiftList().get(i).getGiftId());
|
||||
luckyGiftInfo.getGiftList().get(i).setGiftInfo(giftInfo);
|
||||
if (giftInfo != null) {
|
||||
luckyGiftInfo.getGiftList().get(i).setGiftInfo(giftInfo);
|
||||
}
|
||||
}
|
||||
String nick = RegexUtil.getPrintableString(giftAttachment.getMultiLuckyGiftReceiveInfo().getNick());
|
||||
boolean newUser = NobleUtil.getIsNewUser(UserInfo.IS_NEW_USER, chatRoomMessage);
|
||||
@@ -1972,7 +1974,9 @@ public class MessageView extends FrameLayout {
|
||||
LuckyBagGifts luckyGiftInfo = giftAttachment.getMultiLuckyGiftReceiveInfo();
|
||||
for (int i = 0; i < luckyGiftInfo.getGiftList().size(); i++) {
|
||||
GiftInfo giftInfo = GiftModel.get().findGiftInfoById(luckyGiftInfo.getGiftList().get(i).getGiftId());
|
||||
luckyGiftInfo.getGiftList().get(i).setGiftInfo(giftInfo);
|
||||
if (giftInfo != null) {
|
||||
luckyGiftInfo.getGiftList().get(i).setGiftInfo(giftInfo);
|
||||
}
|
||||
}
|
||||
String nick = RegexUtil.getPrintableString(giftAttachment.getMultiLuckyGiftReceiveInfo().getNick());
|
||||
boolean newUser = NobleUtil.getIsNewUser(UserInfo.IS_NEW_USER, chatRoomMessage);
|
||||
|
@@ -131,14 +131,14 @@ class HomeViewModel : BaseViewModel() {
|
||||
val concernsRooms = async(Dispatchers.IO) {
|
||||
try {
|
||||
HomeModel.getConcernsRoom()
|
||||
} catch (e: Exception) {
|
||||
} catch (e: Throwable) {
|
||||
null
|
||||
}
|
||||
}
|
||||
val collectRooms = async(Dispatchers.IO) {
|
||||
try {
|
||||
HomeModel.getCollectRoom(pageNum, pageSize)
|
||||
} catch (e: Exception) {
|
||||
} catch (e: Throwable) {
|
||||
null
|
||||
}
|
||||
}
|
||||
|
@@ -79,7 +79,7 @@ class PartyFragment : BaseFragment(), PartyMagicIndicatorAdapter.OnItemSelectLis
|
||||
break
|
||||
}
|
||||
}
|
||||
//只有HomeTagInfo发生改变才刷新数据,否则刷新当前可见的那个Fragment
|
||||
//只有HomeTagInfo发生改变才刷新数据
|
||||
if (changed) {
|
||||
LogUtils.e("$changed:oldTabInfoList")
|
||||
mTabInfoList.clear()
|
||||
@@ -123,12 +123,6 @@ class PartyFragment : BaseFragment(), PartyMagicIndicatorAdapter.OnItemSelectLis
|
||||
)
|
||||
ViewPagerHelper.bind(mBinding.magicIndicator, mBinding.viewPager)
|
||||
onItemSelect(1,null)
|
||||
} else {
|
||||
for (fragment in mFragments) {
|
||||
if (fragment is RoomCommonFragment) {
|
||||
fragment.loadData(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -101,6 +101,7 @@ dependencies {
|
||||
api 'androidx.room:room-rxjava2:2.2.5'
|
||||
|
||||
api 'com.tencent.bugly:crashreport_upgrade:1.5.23'
|
||||
api 'com.tencent.bugly:nativecrashreport:3.9.2'
|
||||
|
||||
api project(':nim_uikit')
|
||||
api project(':library')
|
||||
|
@@ -85,7 +85,7 @@ suspend inline fun <reified T : Any> launchRequest(
|
||||
block()
|
||||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
if (e is IOException) throw Throwable("网络异常,请检查你的网络再试")
|
||||
if (e is IOException) throw ServerException("网络异常,请检查你的网络再试",-1)
|
||||
else throw e
|
||||
}.run {
|
||||
if (isSuccess) {
|
||||
|
@@ -15,6 +15,7 @@ org.gradle.daemon=true
|
||||
android.injected.testOnly=false
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
android.enableResourceOptimizations=false
|
||||
|
||||
with_flutter_aar=true
|
||||
with_jenkins=false
|
||||
|
Reference in New Issue
Block a user