소스 검색

修改ios接收文件与原有插件冲突/切换苹果id为诚游的号并更换相应推送证书

master
jiahao 5 년 전
부모
커밋
b5139f49d7
2개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  1. +3
    -3
      lib/utils/NetUtil.dart
  2. +6
    -6
      lib/utils/screen.dart

+ 3
- 3
lib/utils/NetUtil.dart 파일 보기

@@ -160,7 +160,7 @@ class NetWork {
loginTimer?.cancel(); loginTimer?.cancel();
MsgHandler.flushCacheMsg(); MsgHandler.flushCacheMsg();
UploadUtil().setUploadUrl(msgContent.httpAddr); UploadUtil().setUploadUrl(msgContent.httpAddr);
GroupInfoMgr().checkGroupValid();
GroupInfoMgr().checkGroupValid();
} else { } else {
_stateBloc.addState(ChatState.loginFailed); _stateBloc.addState(ChatState.loginFailed);
print('登录失败${msgContent.errorCode}'); print('登录失败${msgContent.errorCode}');
@@ -323,7 +323,7 @@ class NetWork {
connectServerTimer?.cancel(); connectServerTimer?.cancel();
if (channel != null) { if (channel != null) {
await channel.sink.close();
await channel.sink.close();
channel = null; channel = null;
} }
}); });
@@ -415,7 +415,7 @@ class NetWork {
//清缓存 //清缓存
ChatDataMgr().logout(); ChatDataMgr().logout();
MsgHandler.clear(); MsgHandler.clear();
isNormalClose = true; isNormalClose = true;
close(); close();
} }


+ 6
- 6
lib/utils/screen.dart 파일 보기

@@ -63,12 +63,12 @@ fixedText(data, {Color color, double fontSize, FontWeight fontWeight}) {
extendedText(String text, extendedText(String text,
{Color color = Colors.blue, {Color color = Colors.blue,
double fontSize = 14,
selectionEnabled = false,
double emojisize = 20.0,
Function hideKeyboard,
fontWeight,int maxLines,
Function onSpecialTextTap
double fontSize = 14,
selectionEnabled = false,
double emojisize = 20.0,
Function hideKeyboard,
fontWeight,int maxLines,
Function onSpecialTextTap
}) { }) {
return ExtendedText( return ExtendedText(
text, text,


불러오는 중...
취소
저장