|
|
|
@ -11,10 +11,8 @@ import 'package:fluffychat/components/list_items/message.dart';
|
|
|
|
|
import 'package:fluffychat/components/matrix.dart';
|
|
|
|
|
import 'package:fluffychat/components/reply_content.dart';
|
|
|
|
|
import 'package:fluffychat/i18n/i18n.dart';
|
|
|
|
|
import 'package:fluffychat/utils/app_route.dart';
|
|
|
|
|
import 'package:fluffychat/utils/event_extension.dart';
|
|
|
|
|
import 'package:fluffychat/utils/room_extension.dart';
|
|
|
|
|
import 'package:fluffychat/views/chat_encryption_settings.dart';
|
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
@ -624,6 +622,8 @@ class _ChatState extends State<_Chat> {
|
|
|
|
|
send();
|
|
|
|
|
FocusScope.of(context)
|
|
|
|
|
.requestFocus(inputFocus);
|
|
|
|
|
setState(() =>
|
|
|
|
|
inputText = sendController.text);
|
|
|
|
|
},
|
|
|
|
|
focusNode: inputFocus,
|
|
|
|
|
controller: sendController,
|
|
|
|
|