This commit is contained in:
Christian Pauly 2020-02-22 10:41:00 +01:00
parent 1a2c5c9380
commit 020cba5679
3 changed files with 5 additions and 5 deletions

View file

@ -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,

View file

@ -124,8 +124,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "8a3547a1ee0464ef54a212046f742891dd586724"
resolved-ref: "8a3547a1ee0464ef54a212046f742891dd586724"
ref: "0b5e806cdfeccae6ef49c5cfe5dfa19c1a0ff259"
resolved-ref: "0b5e806cdfeccae6ef49c5cfe5dfa19c1a0ff259"
url: "https://gitlab.com/famedly/famedlysdk.git"
source: git
version: "0.0.1"

View file

@ -27,7 +27,7 @@ dependencies:
famedlysdk:
git:
url: https://gitlab.com/famedly/famedlysdk.git
ref: 8a3547a1ee0464ef54a212046f742891dd586724
ref: 0b5e806cdfeccae6ef49c5cfe5dfa19c1a0ff259
localstorage: ^3.0.1+4
bubble: ^1.1.9+1