fix appointment notifications
This commit is contained in:
parent
fd0d84bd41
commit
ea1ee870d4
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import 'package:Mzansi_Innovation_Hub/mih_objects/arguments.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import '../../main.dart';
|
import '../../main.dart';
|
||||||
import 'package:supertokens_flutter/http.dart' as http;
|
import 'package:supertokens_flutter/http.dart' as http;
|
||||||
|
|
@ -35,6 +36,7 @@ class _MIHNotificationDrawerState extends State<MIHNotificationDrawer> {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
"/",
|
"/",
|
||||||
|
arguments: AuthArguments(true, false),
|
||||||
);
|
);
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
widget.notifications[index].action_path,
|
widget.notifications[index].action_path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue