2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

Fixed (most) of the raw text instances

This commit is contained in:
Oliver Walters
2021-05-19 23:08:44 +10:00
parent c8583aba04
commit 34a6a43d35
12 changed files with 51 additions and 66 deletions

View File

@ -66,13 +66,13 @@ class ImagePickerField extends FormField<File> {
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
FlatButton(
child: Text("Select Image"),
child: Text(I18N.of(context).selectImage),
onPressed: () {
_selectFromGallery(state);
},
),
FlatButton(
child: Text("Take Picture"),
child: Text(I18N.of(context).takePicture),
onPressed: () {
_selectFromCamera(state);
},
@ -81,7 +81,7 @@ class ImagePickerField extends FormField<File> {
),
);
return ListTile(
title: Text("Select Image"),
title: Text(I18N.of(context).selectImage),
);
}
);