Skip to content

Commit

Permalink
revert: Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ellet committed Dec 4, 2023
1 parent 33b125d commit c5b7281
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class _AppState extends State<App> {
'https://github.com/natsuk4ze/gal/raw/main/example/assets/done.jpg',
path,
);
await Gal.putImage(path, album: album);
await Gal.putImage(path);
showSnackbar();
},
child: const Text('Download Image'),
Expand All @@ -80,7 +80,7 @@ class _AppState extends State<App> {
'https://github.com/natsuk4ze/gal/raw/main/example/assets/done.mp4',
path,
);
await Gal.putVideo(path, album: album);
await Gal.putVideo(path);
showSnackbar();
},
child: const Text('Download Video'),
Expand Down

0 comments on commit c5b7281

Please sign in to comment.