mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
format code
This commit is contained in:
@@ -35,7 +35,8 @@ void main() async {
|
||||
),
|
||||
);
|
||||
if (Platform.isAndroid) {
|
||||
SystemUiOverlayStyle style = const SystemUiOverlayStyle(statusBarColor: Colors.transparent);
|
||||
SystemUiOverlayStyle style =
|
||||
const SystemUiOverlayStyle(statusBarColor: Colors.transparent);
|
||||
SystemChrome.setSystemUIOverlayStyle(style);
|
||||
}
|
||||
}
|
||||
@@ -60,7 +61,9 @@ class MyApp extends ConsumerWidget {
|
||||
home: Builder(
|
||||
builder: (context) {
|
||||
showDebugBtn(context, btnColor: Colors.blue);
|
||||
return getIt<UserInfoViewModel>().isLogined() ? const HomePage() : LoginPage();
|
||||
return getIt<UserInfoViewModel>().isLogined()
|
||||
? const HomePage()
|
||||
: LoginPage();
|
||||
},
|
||||
),
|
||||
// home: LoginPage(),
|
||||
|
||||
Reference in New Issue
Block a user