Skip to content

Commit

Permalink
change route when handle message
Browse files Browse the repository at this point in the history
  • Loading branch information
12henbx committed Nov 22, 2023
1 parent a135b15 commit fc7fe85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/api/firebase_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FirebaseApi {
void handleMessage(RemoteMessage? message) {
if (message == null) return;

router.push('/material');
router.push('/main');
}

Future<dynamic> initPushNotfications() async {
Expand Down

0 comments on commit fc7fe85

Please sign in to comment.