From 020cba56797b080db26af1e678d57136b219748c Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 22 Feb 2020 10:41:00 +0100 Subject: [PATCH] Clean up --- lib/views/chat.dart | 4 ++-- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 0e5263b..b981082 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -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, diff --git a/pubspec.lock b/pubspec.lock index 07a80af..5011b53 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -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" diff --git a/pubspec.yaml b/pubspec.yaml index 898df7b..879dac2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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