From c296201017b8c4589922fca8df5284ca90301cdf Mon Sep 17 00:00:00 2001 From: Moe <moe@chocola.dev> Date: Sat, 30 Apr 2022 23:47:54 +0700 Subject: [PATCH] Update menu --- lib/components/menu.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/components/menu.dart b/lib/components/menu.dart index 4fb31ee..9db45f9 100644 --- a/lib/components/menu.dart +++ b/lib/components/menu.dart @@ -1,10 +1,10 @@ import 'package:flutter/material.dart'; -import 'package:nekoya_flutter/screens/login.dart'; import 'dart:math' as math; import 'package:nekoya_flutter/screens/products.dart'; import 'package:nekoya_flutter/screens/payment.dart'; import 'package:nekoya_flutter/screens/cart.dart'; +import 'package:nekoya_flutter/screens/sessions.dart'; import 'package:nekoya_flutter/screens/transactions.dart'; class Menu extends StatefulWidget { @@ -23,7 +23,7 @@ class _MenuState extends State<Menu> { @override void initState() { if (widget.initialScreen == 0) { - _selectedWidget = const Login(); + _selectedWidget = const Sessions(); } else if (widget.initialScreen == 1) { _selectedWidget = const Payment(); } else if (widget.initialScreen == 2) { @@ -59,7 +59,7 @@ class _MenuState extends State<Menu> { setState(() { _selectedIndex = index; if (index == 0) { - _selectedWidget = const Login(); + _selectedWidget = const Sessions(); } else if (index == 1) { _selectedWidget = const Payment(); } else if (index == 2) {