From 5b5a9cc11c16e205c7ba415c353cf2ba1552690d Mon Sep 17 00:00:00 2001 From: Vick Top Date: Mon, 26 Feb 2024 10:50:44 +0100 Subject: [PATCH] fix: move ignore use_build_context_synchronously to correct place --- README.md | 2 +- lib/src/media_picker.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,