Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-App
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
reason
2021-12-29 21:00:55 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0a60d0cce094c0cc4d1ac6330069c508a76aadc9
0a60d0cc
1 parent
c45e99d6
repair
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
lib/main.dart
lib/main.dart
View file @
0a60d0c
...
...
@@ -59,7 +59,11 @@ Future<void> main() async {
SystemChrome
.
setEnabledSystemUIMode
(
SystemUiMode
.
manual
,
overlays:
[
SystemUiOverlay
.
bottom
]);
// TODO(weilu): 启动体验不佳。状态栏、导航栏在冷启动开始的一瞬间为黑色,且无法通过隐藏、修改颜色等方式进行处理。。。
// 相关问题跟踪:https://github.com/flukey: key) {
// 相关问题跟踪:https://github.com/flutter/flutter/issues/73351
}
class
MyApp
extends
StatelessWidget
{
MyApp
({
Key
?
key
,
this
.
home
,
this
.
theme
})
:
super
(
key:
key
)
{
Log
.
init
();
initDio
();
Routes
.
initRoutes
();
...
...
Please
register
or
login
to post a comment