diff --git a/lib/widgets/editor/toolbar.dart b/lib/widgets/editor/toolbar.dart index 3c4a02b..22ffa7d 100644 --- a/lib/widgets/editor/toolbar.dart +++ b/lib/widgets/editor/toolbar.dart @@ -152,8 +152,8 @@ class AddLinkDialog extends HookWidget { final String selection; AddLinkDialog(this.selection) - : title = selection.startsWith('http?s://') ? '' : selection, - url = selection.startsWith('http?s://') ? selection : ''; + : title = selection.startsWith('https?://') ? '' : selection, + url = selection.startsWith('https?://') ? selection : ''; @override Widget build(BuildContext context) {