diff --git a/README.md b/README.md index 17beab1..62dde9a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Please file any issues, bugs or feature request as an issue on our [GitHub](http ## Want to contribute -If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our [contribution guide](../CONTRIBUTING.md) and send us your [pull request](https://github.com/Iconica-Development/flutter_media_picker/pulls). +If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our [contribution guide](./CONTRIBUTING.md) and send us your [pull request](https://github.com/Iconica-Development/flutter_media_picker/pulls). ## Author diff --git a/lib/src/media_picker.dart b/lib/src/media_picker.dart index dfd6a59..de94614 100644 --- a/lib/src/media_picker.dart +++ b/lib/src/media_picker.dart @@ -208,8 +208,8 @@ class _MediaPickerState extends State { }, ); - // ignore: use_build_context_synchronously Navigator.push( + // ignore: use_build_context_synchronously context, MaterialPageRoute( builder: (context) => checkPage,