3 Commits

Auteur SHA1 Bericht Datum
  jiahao 1187f0ae49 1 5 jaren geleden
  jiahao 3b68bd9af4 Merge remote-tracking branch 'origin/master' 5 jaren geleden
  jiahao 639b9b1371 1 5 jaren geleden
5 gewijzigde bestanden met toevoegingen van 5 en 7 verwijderingen
  1. +1
    -1
      lib/chat/ChatPage.dart
  2. +2
    -3
      lib/chat/group_chat_view.dart
  3. +0
    -1
      lib/home/LoginPage.dart
  4. +1
    -1
      lib/utils/HttpUtil.dart
  5. +1
    -1
      lib/utils/net_state_util.dart

+ 1
- 1
lib/chat/ChatPage.dart Bestand weergeven

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


+ 2
- 3
lib/chat/group_chat_view.dart Bestand weergeven

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


+ 0
- 1
lib/home/LoginPage.dart Bestand weergeven

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


+ 1
- 1
lib/utils/HttpUtil.dart Bestand weergeven

@@ -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) {


+ 1
- 1
lib/utils/net_state_util.dart Bestand weergeven

@@ -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);


Laden…
Annuleren
Opslaan