use .of(context) instead of .pop(context)

This commit is contained in:
Henry Hiles 2026-07-14 20:10:40 -04:00
commit 8b2d354a60
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -66,7 +66,7 @@ class PinnedEventsDrawer extends HookConsumerWidget {
return InkWell(
borderRadius: .circular(12),
onTap: () {
Navigator.pop(context);
Navigator.of(context).pop();
jumpToId(event.eventId);
},
child: Padding(