Validate URL after import

This commit is contained in:
Juan Gilsanz Polo
2024-04-03 16:18:02 +02:00
parent a37d0866f4
commit 340b37d6e6
2 changed files with 10 additions and 5 deletions

View File

@@ -197,7 +197,7 @@ class _ModalContent extends ConsumerWidget {
onPressed: provider.checkBookmarkLoadStatus == null &&
provider.urlError == null &&
provider.urlController.text != ""
? () => ref.read(bookmarkFormProvider.notifier).checkUrlDetails()
? () => ref.read(bookmarkFormProvider.notifier).checkUrlDetails(updateState: true)
: null,
style: ButtonStyle(
foregroundColor: provider.checkBookmarkLoadStatus == LoadStatus.loaded