From 7045b124acdc3af6721c7bfd5b90d491d83ff928 Mon Sep 17 00:00:00 2001 From: Moe Date: Mon, 16 May 2022 11:42:02 +0700 Subject: [PATCH] Add auth required to payment via direct path --- lib/main.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index e5d3c89..99293b6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -5,6 +5,7 @@ import 'package:flutter/material.dart'; import 'package:nekoya_flutter/screens/login.dart'; import 'package:nekoya_flutter/screens/register.dart'; +import 'package:nekoya_flutter/screens/payment.dart'; import 'package:nekoya_flutter/components/menu.dart'; import 'package:nekoya_flutter/utils/url_strategy.dart'; import 'package:nekoya_flutter/utils/navigation_auth.dart'; @@ -48,6 +49,7 @@ class _NekoyaState extends State { '/cart' : (context) => const Menu(initialScreen: 3,), '/sessions': (context) => const NavigationAuth(route: Menu(initialScreen: 0,)), '/transactions': (context) => const NavigationAuth(route: Menu(initialScreen: 4,)), + '/payment': (context) => const NavigationAuth(route: Payment()), }, ); }