fix: Keyboard hides imagePicker buttons on iOS

This commit is contained in:
Christian Pauly 2021-07-13 10:30:53 +02:00
parent fbcc8b5551
commit 6f8ad27420
2 changed files with 4 additions and 2 deletions

View File

@ -3,8 +3,9 @@ Another bugfixing release to solve some problems and republish the app on iOS.
### Changes
* Redesign SSO buttons
* Update dependencies [8fef28a]
* Remove moor database (no migration from here possible) [9c47cbf]
* Update dependencies
* Remove moor database (no migration from here possible)
* fix: Keyboard hides imagePicker buttons on iOS
## v0.33.2 - 2021-06-29
* Fix Linux Flatpak persistent storing of data

View File

@ -288,6 +288,7 @@ class ChatController extends State<Chat> {
}
void openCameraAction() async {
inputFocus.unfocus();
final file = await ImagePicker().getImage(source: ImageSource.camera);
if (file == null) return;
final bytes = await file.readAsBytes();