regex typo fix

This commit is contained in:
Filip Krawczyk 2022-06-28 01:18:45 +02:00
parent f21c6b7c8c
commit b5bb5dc1ff
1 changed files with 2 additions and 2 deletions

View File

@ -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) {