Skip to content

Commit

Permalink
fixed error on open + removed useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdanics committed May 1, 2019
1 parent af93ed0 commit bbe8928
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/upload_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class _Uploader extends State<Uploader> {
Widget build(BuildContext context) {
return file == null
? new IconButton(
icon: new Icon(Icons.file_upload), onPressed: () => {_selectImage(context)})
icon: new Icon(Icons.file_upload),
onPressed: () => {_selectImage(context)})
: new Scaffold(
resizeToAvoidBottomPadding: false,
appBar: new AppBar(
Expand Down

0 comments on commit bbe8928

Please sign in to comment.