jiahao пре 5 година
родитељ
комит
639b9b1371
5 измењених фајлова са 5 додато и 6 уклоњено
  1. +1
    -1
      lib/chat/ChatPage.dart
  2. +1
    -1
      lib/chat/group_chat_view.dart
  3. +0
    -1
      lib/home/LoginPage.dart
  4. +2
    -2
      lib/utils/HttpUtil.dart
  5. +1
    -1
      lib/utils/net_state_util.dart

+ 1
- 1
lib/chat/ChatPage.dart Прегледај датотеку

@@ -451,7 +451,7 @@ class _ChatPageState extends State<ChatPage> {
Provider<int>.value(value: widget.friendId),
],
child: GestureDetector(
onTapDown: (args){hideKeyBoard();},
onTap: hideKeyBoard,
child: ExtendedTextSelectionPointerHandler(
///选择文字,消除弹窗


+ 1
- 1
lib/chat/group_chat_view.dart Прегледај датотеку

@@ -290,7 +290,7 @@ class _GroupChatPageState extends State<GroupChatPage> {
Provider<GroupInfoModel>.value(value: widget.groupInfoModel),
],
child: GestureDetector(
onTapDown: (args){hideKeyBoard();},
onTap:hideKeyBoard,
child: ExtendedTextSelectionPointerHandler(
///选择文字,消除弹窗
builder: (states) {


+ 0
- 1
lib/home/LoginPage.dart Прегледај датотеку

@@ -36,7 +36,6 @@ class _LoginPageState extends State<LoginPage> {
if (keyHeight > 0) {
UserData().setKeyboardHeight(keyHeight);
}
Widget appBar = AppBar(
backgroundColor: AppColors.NewAppbarBgColor,
title: Text(


+ 2
- 2
lib/utils/HttpUtil.dart Прегледај датотеку

@@ -46,7 +46,7 @@ class HttpUtil {
//static const String BaseUrl = 'http://192.168.0.207:9080/';
static const String BaseUrl = 'http://120.79.107.63:9080/';
//static const String BaseUrl = 'http://192.168.0.177:9016/';
//static const String BaseUrl = 'https://datasm.chengyouhd.com/';
// static const String BaseUrl = 'https://datasm.chengyouhd.com/';
static HttpUtil _getInstance() {
if (_instance == null) {
@@ -1125,7 +1125,7 @@ class HttpUtil {
if (msgModel.translateContent != null &&
msgModel.translateContent.length > 0) {
data['mcontent'] = base64Encode(msgModel.enTranslateContent);
data['mcontent'] = base64Encode(msgModel.translateContent);
}
Response res =


+ 1
- 1
lib/utils/net_state_util.dart Прегледај датотеку

@@ -17,7 +17,7 @@ class NetStateBloc {
}
_updateConnectionStatus(ConnectivityResult result) async {
print('网络状态改变$result');
// print('网络状态改变$result');
if (result == ConnectivityResult.none) {
lastNet = result;
_streamController.sink.add(ChatState.connecting.index);


Учитавање…
Откажи
Сачувај