commit | 0c9dfc37062bbdef738b18aa19a5ad08b5999808 | [log] [tgz] |
---|---|---|
author | Alexandre Ardhuin <alexandre.ardhuin@gmail.com> | Thu Sep 15 09:59:42 2022 +0200 |
committer | GitHub <noreply@github.com> | Thu Sep 15 09:59:42 2022 +0200 |
tree | da88f98e45ad1fefcfbe3ba0043625552831b0cf | |
parent | 07e69e5b3ccff7db5e199885d38fa52ced7b2170 [diff] |
fix for upcoming use_build_context_synchronously (#782)
diff --git a/lib/pages/demo.dart b/lib/pages/demo.dart index 6a3255c..aff7dd4 100644 --- a/lib/pages/demo.dart +++ b/lib/pages/demo.dart
@@ -194,7 +194,7 @@ if (await canLaunchUrlString(url)) { await launchUrlString(url); - } else { + } else if (mounted) { await showDialog<void>( context: context, builder: (context) {