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(
|
return InkWell(
|
||||||
borderRadius: .circular(12),
|
borderRadius: .circular(12),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.of(context).pop();
|
||||||
jumpToId(event.eventId);
|
jumpToId(event.eventId);
|
||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue