Skip to content

Commit

Permalink
11 - Update: Gallery;
Browse files Browse the repository at this point in the history
  • Loading branch information
90lucasgabriel committed Apr 18, 2021
1 parent 0f5bb33 commit 97c386a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class _InputState extends State<Input> {
onPressed: () async {
final ImagePicker _picker = ImagePicker();
final PickedFile response =
await _picker.getImage(source: ImageSource.camera);
await _picker.getImage(source: ImageSource.gallery);
final File file = File(response.path);

if (response == null) return;
Expand Down

0 comments on commit 97c386a

Please sign in to comment.