2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 18:55:34 +00:00

More cleanup

This commit is contained in:
Oliver
2021-07-15 23:28:55 +10:00
parent d2ce3fadf1
commit 83e29777c2
12 changed files with 23 additions and 60 deletions

View File

@ -71,13 +71,13 @@ class ImagePickerField extends FormField<File> {
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
FlatButton(
TextButton(
child: Text(L10().selectImage),
onPressed: () {
_selectFromGallery(state);
},
),
FlatButton(
TextButton(
child: Text(L10().takePicture),
onPressed: () {
_selectFromCamera(state);