diff --git a/lib/components/menu.dart b/lib/components/menu.dart index c4f891b..ac661ce 100644 --- a/lib/components/menu.dart +++ b/lib/components/menu.dart @@ -1,4 +1,5 @@ import 'dart:math' as math; +import 'package:nekoya_flutter/screens/otp.dart'; import 'package:universal_html/html.dart' as html; import 'package:flutter/material.dart'; @@ -74,7 +75,7 @@ class _MenuState extends State<Menu> { html.window.history.pushState(null, '', '/products'); _selectedWidget = const Products(); } else if (index == 2) { - _selectedWidget = const Home(); + _selectedWidget = const Otp(); } else if (index == 3) { html.window.history.pushState(null, '', '/cart'); _selectedWidget = const Cart(); diff --git a/lib/screens/otp.dart b/lib/screens/otp.dart index 7acfdcc..1893307 100644 --- a/lib/screens/otp.dart +++ b/lib/screens/otp.dart @@ -14,7 +14,7 @@ class _OtpState extends State<Otp> { return Scaffold( backgroundColor: const Color(0xff1b1c1e), appBar: AppBar( - title: const Text('OTP VERIFICATION'), + title: const Text('Nekoya'), centerTitle: true, backgroundColor: const Color(0xff212226), ),