Different navigaton
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:maggs_victory_voyage/services/db_helper.dart';
|
||||
|
||||
import 'pages/login_page.dart';
|
||||
import 'pages/splash_page.dart';
|
||||
|
||||
void main() {
|
||||
void main() async {
|
||||
await DbHelper.init();
|
||||
runApp(const Application());
|
||||
}
|
||||
|
||||
@@ -17,7 +20,7 @@ class Application extends StatelessWidget {
|
||||
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
|
||||
useMaterial3: true,
|
||||
),
|
||||
home: const LoginPage(),
|
||||
home: const SplashPage(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user