Merge branch 'main' of gitlab.com:famedly/fluffychat

This commit is contained in:
Christian Pauly 2021-07-18 12:37:03 +02:00
commit 12eb09f553
4 changed files with 37 additions and 2 deletions

View File

@ -2489,5 +2489,22 @@
"@commandHintSend": { "@commandHintSend": {
"type": "text", "type": "text",
"description": "Usage hint for the command /send" "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": {}
} }
} }

View File

@ -2489,5 +2489,22 @@
"@commandHintSend": { "@commandHintSend": {
"type": "text", "type": "text",
"description": "Usage hint for the command /send" "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": {}
} }
} }

View File

@ -290,7 +290,8 @@ class ChatController extends State<Chat> {
} }
void openCameraAction() async { 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); final file = await ImagePicker().getImage(source: ImageSource.camera);
if (file == null) return; if (file == null) return;
final bytes = await file.readAsBytes(); final bytes = await file.readAsBytes();

View File

@ -64,7 +64,7 @@ dependencies:
scroll_to_index: ^2.0.0 scroll_to_index: ^2.0.0
sentry: ^5.1.0 sentry: ^5.1.0
share: ^2.0.4 share: ^2.0.4
swipe_to_action: ^0.1.0 swipe_to_action: ^0.2.0
uni_links: ^0.5.1 uni_links: ^0.5.1
unifiedpush: ^1.0.6 unifiedpush: ^1.0.6
universal_html: ^2.0.8 universal_html: ^2.0.8