Update _launchUrl

pull/13/head
singerdmx 4 years ago
parent 279a30b1b3
commit 3450cf6e7f
  1. 3
      lib/widgets/editor.dart

@ -363,7 +363,8 @@ class _QuillEditorSelectionGestureDetectorBuilder
} }
void _launchUrl(String url) async { void _launchUrl(String url) async {
if (await canLaunch(url)) { bool ok = await canLaunch(url);
if (ok) {
await launch(url); await launch(url);
} }
} }

Loading…
Cancel
Save