Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-lox committed Nov 22, 2024
1 parent c7d3155 commit 42c4f76
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions lib/presentation_layer/components/person_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ class PersonCard extends ConsumerWidget {
this.nip05,
});

Future<String> checkNip05(String nip05, String pubkey, WidgetRef ref) async {
var nip05service = await ref.read(nip05provider.future);
try {
var check = await nip05service.check(nip05, pubkey);

if (check != null && check.valid) {
return check.nip05;
}
// ignore: empty_catches
} catch (e) {}
return "";
}

@override
Widget build(BuildContext context, WidgetRef ref) {
return InkWell(
Expand Down

0 comments on commit 42c4f76

Please sign in to comment.