From 116b4bde054c60e55053722cecc871327cc1b84d Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 16 Jul 2021 13:27:14 +0000 Subject: [PATCH 1/4] chore: upgrade swipe_to_action to null-safety --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 21110de48..7ae60520f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -63,7 +63,7 @@ dependencies: scroll_to_index: ^2.0.0 sentry: ^5.1.0 share: ^2.0.4 - swipe_to_action: ^0.1.0 + swipe_to_action: ^0.2.0 uni_links: ^0.5.1 unifiedpush: ^1.0.6 universal_html: ^2.0.8 From add70b89c81041113192432fc6a6f2c2ddf6c23d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Priit=20J=C3=B5er=C3=BC=C3=BCt?= Date: Thu, 15 Jul 2021 07:03:49 +0000 Subject: [PATCH 2/4] Translated using Weblate (Estonian) Currently translated at 100.0% (462 of 462 strings) Translation: FluffyChat/Translations Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/et/ --- assets/l10n/intl_et.arb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/assets/l10n/intl_et.arb b/assets/l10n/intl_et.arb index fc8543793..dcdb294d3 100644 --- a/assets/l10n/intl_et.arb +++ b/assets/l10n/intl_et.arb @@ -2489,5 +2489,22 @@ "@commandHintSend": { "type": "text", "description": "Usage hint for the command /send" + }, + "savedFileAs": "Salvestasin faili nimega {filename}", + "@savedFileAs": { + "type": "text", + "placeholders": { + "filename": {} + } + }, + "saveFileToFolder": "Salvesta fail sellesse kausta", + "@saveFileToFolder": { + "type": "text", + "placeholders": {} + }, + "saveFile": "Salvesta fail", + "@saveFile": { + "type": "text", + "placeholders": {} } } From 8bcfbfa30b1d8b1753d9121e8b876c6f232e1a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xos=C3=A9=20M?= Date: Fri, 16 Jul 2021 04:58:43 +0000 Subject: [PATCH 3/4] Translated using Weblate (Galician) Currently translated at 100.0% (462 of 462 strings) Translation: FluffyChat/Translations Translate-URL: https://hosted.weblate.org/projects/fluffychat/translations/gl/ --- assets/l10n/intl_gl.arb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/assets/l10n/intl_gl.arb b/assets/l10n/intl_gl.arb index be76dfced..a0b85f2f3 100644 --- a/assets/l10n/intl_gl.arb +++ b/assets/l10n/intl_gl.arb @@ -2489,5 +2489,22 @@ "@commandHintSend": { "type": "text", "description": "Usage hint for the command /send" + }, + "savedFileAs": "Ficheiro gardado como {filename}", + "@savedFileAs": { + "type": "text", + "placeholders": { + "filename": {} + } + }, + "saveFileToFolder": "Gardar ficheiro neste cartafol", + "@saveFileToFolder": { + "type": "text", + "placeholders": {} + }, + "saveFile": "Gardar ficheiro", + "@saveFile": { + "type": "text", + "placeholders": {} } } From 51a521c5109c84ea11c61c5f1a21d3fc49bd5869 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 18 Jul 2021 12:17:56 +0200 Subject: [PATCH 4/4] fix: Make sure the textfield is unfocused before opening the camera --- lib/pages/chat.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat.dart b/lib/pages/chat.dart index ed335065e..b3c341692 100644 --- a/lib/pages/chat.dart +++ b/lib/pages/chat.dart @@ -290,7 +290,8 @@ class ChatController extends State { } void openCameraAction() async { - inputFocus.unfocus(); + // Make sure the textfield is unfocused before opening the camera + FocusScope.of(context).requestFocus(FocusNode()); final file = await ImagePicker().getImage(source: ImageSource.camera); if (file == null) return; final bytes = await file.readAsBytes();