Add bookmark request

This commit is contained in:
Juan Gilsanz Polo
2024-02-23 16:12:15 +01:00
parent 6aa6acfbfd
commit 56c12e3828
5 changed files with 214 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ class AddLinkModalState extends ConsumerState<AddLinkModal> with SingleTickerPro
),
if (provider.checkBookmark != null)
TextButton(
onPressed: () => Navigator.pop(context),
onPressed: ref.read(addLinkProvider.notifier).addBookmark,
child: Text(t.generic.confirm),
),
],