Auteur | SHA1 | Message | Date |
---|---|---|---|
|
1187f0ae49 | 1 | il y a 5 ans |
|
3b68bd9af4 |
Merge remote-tracking branch 'origin/master'
# Conflicts: # lib/chat/group_chat_view.dart |
il y a 5 ans |
|
639b9b1371 | 1 | il y a 5 ans |
@@ -451,7 +451,7 @@ class _ChatPageState extends State<ChatPage> { | |||||
Provider<int>.value(value: widget.friendId), | Provider<int>.value(value: widget.friendId), | ||||
], | ], | ||||
child: GestureDetector( | child: GestureDetector( | ||||
onTapDown: (args){hideKeyBoard();}, | |||||
onTap: hideKeyBoard, | |||||
child: ExtendedTextSelectionPointerHandler( | child: ExtendedTextSelectionPointerHandler( | ||||
///选择文字,消除弹窗 | ///选择文字,消除弹窗 | ||||
@@ -306,9 +306,8 @@ class _GroupChatPageState extends State<GroupChatPage> { | |||||
Provider<bool>.value(value: true), | Provider<bool>.value(value: true), | ||||
Provider<GroupInfoModel>.value(value: widget.groupInfoModel), | Provider<GroupInfoModel>.value(value: widget.groupInfoModel), | ||||
], | ], | ||||
child: GestureDetector(onTapDown: (args) { | |||||
hideKeyBoard(); | |||||
}, child: ExtendedTextSelectionPointerHandler( | |||||
child: GestureDetector( | |||||
onTap:hideKeyBoard, child: ExtendedTextSelectionPointerHandler( | |||||
///选择文字,消除弹窗 | ///选择文字,消除弹窗 | ||||
builder: (states) { | builder: (states) { | ||||
return Listener( | return Listener( | ||||
@@ -36,7 +36,6 @@ class _LoginPageState extends State<LoginPage> { | |||||
if (keyHeight > 0) { | if (keyHeight > 0) { | ||||
UserData().setKeyboardHeight(keyHeight); | UserData().setKeyboardHeight(keyHeight); | ||||
} | } | ||||
Widget appBar = AppBar( | Widget appBar = AppBar( | ||||
backgroundColor: AppColors.NewAppbarBgColor, | backgroundColor: AppColors.NewAppbarBgColor, | ||||
title: Text( | title: Text( | ||||
@@ -46,7 +46,7 @@ class HttpUtil { | |||||
//static const String BaseUrl = 'http://192.168.0.207:9080/'; | //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://120.79.107.63:9080/'; | ||||
//static const String BaseUrl = 'http://192.168.0.177:9016/'; | //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() { | static HttpUtil _getInstance() { | ||||
if (_instance == null) { | if (_instance == null) { | ||||
@@ -17,7 +17,7 @@ class NetStateBloc { | |||||
} | } | ||||
_updateConnectionStatus(ConnectivityResult result) async { | _updateConnectionStatus(ConnectivityResult result) async { | ||||
print('网络状态改变$result'); | |||||
// print('网络状态改变$result'); | |||||
if (result == ConnectivityResult.none) { | if (result == ConnectivityResult.none) { | ||||
lastNet = result; | lastNet = result; | ||||
_streamController.sink.add(ChatState.connecting.index); | _streamController.sink.add(ChatState.connecting.index); | ||||