hector.sierra 3 years ago
parent
commit
3513d1310d
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      fast_med_flutter/lib/main.dart
  2. 2
    2
      fast_med_flutter/lib/welcome.dart

+ 1
- 1
fast_med_flutter/lib/main.dart View File

@@ -29,7 +29,7 @@ class MyApp extends StatelessWidget{
29 29
       theme: ThemeData(
30 30
         textTheme: GoogleFonts.cabinTextTheme(textTheme),
31 31
         ),
32
-      home: NavigationPage(),
32
+      home: WelcomePage(),
33 33
     );
34 34
   }
35 35
 

+ 2
- 2
fast_med_flutter/lib/welcome.dart View File

@@ -45,8 +45,8 @@ class _WelcomePageState extends State<WelcomePage> {
45 45
       print("User found");
46 46
       Token = email.text;
47 47
 
48
-      // Navigator.push(
49
-      //     context, MaterialPageRoute(builder: (context) => NavigationPage()));
48
+      Navigator.push(
49
+          context, MaterialPageRoute(builder: (context) => NavigationPage()));
50 50
 
51 51
     }
52 52
   }