mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 16:48:16 +08:00
committed by
GitHub
parent
6a75061dbb
commit
d4d9fc3405
@@ -115,8 +115,9 @@ void main() async {
|
||||
CacheManager.autoClearCache();
|
||||
|
||||
if (PlatformUtils.isMobile) {
|
||||
if (Platform.isAndroid) MaxScreenSize.init();
|
||||
await Future.wait([
|
||||
if (Platform.isAndroid) ...[_initSdkInt(), MaxScreenSize.init()],
|
||||
if (Platform.isAndroid) _initSdkInt(),
|
||||
if (Pref.horizontalScreen) ?fullMode() else ?portraitUpMode(),
|
||||
setupServiceLocator(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user