use .of(context) instead of .pop(context)
This commit is contained in:
parent
8773faf7c4
commit
8b2d354a60
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue