修复:

侧边栏问题
This commit is contained in:
18401019693
2022-08-26 16:37:12 +08:00
parent 49ef55bfee
commit b4a71e1282
9 changed files with 359 additions and 213 deletions

View File

@@ -177,7 +177,7 @@ public class AppContext extends CommonAppContext {
msg.obj = content.getContent();
if (SocketRyClient.mSocketHandler != null
&& (TextUtils.equals("__system__", message.getTargetId())
|| (TextUtils.equals("g" + PortraitLiveManager.liveID, message.getTargetId())))) {
|| ("g" + PortraitLiveManager.liveID).contains(message.getTargetId()))) {
SocketRyClient.mSocketHandler.sendMessage(msg);
}
}
@@ -240,7 +240,7 @@ public class AppContext extends CommonAppContext {
/**
* 注册全局异常捕获有需要时可以在onCreate调用
*/
private void registerError(){
private void registerError() {
NeverCrashUtils.getInstance()
.setDebugMode(BuildConfig.DEBUG)
.setMainCrashHandler((t, e) -> {