Merge branch 'main' of github.com:guozhigq/pilipala
This commit is contained in:
@ -30,6 +30,8 @@ void main() async {
|
|||||||
.then((_) async {
|
.then((_) async {
|
||||||
await GStrorage.init();
|
await GStrorage.init();
|
||||||
await setupServiceLocator();
|
await setupServiceLocator();
|
||||||
|
Request();
|
||||||
|
await Request.setCookie();
|
||||||
runApp(const MyApp());
|
runApp(const MyApp());
|
||||||
// 小白条、导航栏沉浸
|
// 小白条、导航栏沉浸
|
||||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
|
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
|
||||||
@ -38,7 +40,6 @@ void main() async {
|
|||||||
systemNavigationBarDividerColor: Colors.transparent,
|
systemNavigationBarDividerColor: Colors.transparent,
|
||||||
statusBarColor: Colors.transparent,
|
statusBarColor: Colors.transparent,
|
||||||
));
|
));
|
||||||
await Request.setCookie();
|
|
||||||
Data.init();
|
Data.init();
|
||||||
GStrorage.lazyInit();
|
GStrorage.lazyInit();
|
||||||
PiliSchame.init();
|
PiliSchame.init();
|
||||||
|
Reference in New Issue
Block a user