good state
This commit is contained in:
@@ -3,6 +3,7 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:lensai/core/routing/routes.dart';
|
||||
import 'package:lensai/features/web_feed/domain/providers/add_dialog_blocking.dart';
|
||||
import 'package:lensai/utils/form_validators.dart';
|
||||
import 'package:lensai/utils/uri_parser.dart' as uri_parser;
|
||||
|
||||
@@ -38,6 +39,16 @@ class AddFeedDialog extends HookConsumerWidget {
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
if (initialUri != null)
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
ref
|
||||
.read(addFeedDialogBlockingProvider.notifier)
|
||||
.ignore(initialUri!);
|
||||
context.pop();
|
||||
},
|
||||
child: const Text('Ignore'),
|
||||
),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
context.pop();
|
||||
|
||||
Reference in New Issue
Block a user