Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qmsd-flutter-user-feedback
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PublicSource
qmsd-flutter-user-feedback
Commits
0922edd9
Commit
0922edd9
authored
May 16, 2024
by
tongzifang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update status bar
parent
c09bf379
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
user_feedback_page.dart
lib/user_feedback_page.dart
+6
-0
user_feedback_setting.dart
lib/user_feedback_setting.dart
+9
-0
No files found.
lib/user_feedback_page.dart
View file @
0922edd9
...
@@ -140,6 +140,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
...
@@ -140,6 +140,12 @@ class _UserFeedBackPageState extends State<UserFeedBackPage> {
@override
@override
void
initState
()
{
void
initState
()
{
super
.
initState
();
super
.
initState
();
scheduleMicrotask
(()
{
SystemChrome
.
setSystemUIOverlayStyle
(
SystemUiOverlayStyle
(
statusBarColor:
Colors
.
transparent
,
statusBarIconBrightness:
Brightness
.
dark
,
statusBarBrightness:
Brightness
.
light
));
});
if
(
widget
.
fromShot
==
1
)
{
if
(
widget
.
fromShot
==
1
)
{
_getLastScreenShot
();
_getLastScreenShot
();
}
}
...
...
lib/user_feedback_setting.dart
View file @
0922edd9
import
'dart:async'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:base_data_channel/config/common_colors.dart'
;
import
'package:base_data_channel/config/common_colors.dart'
;
import
'package:base_data_channel/utils/page_utils.dart'
;
import
'package:base_data_channel/utils/page_utils.dart'
;
import
'package:flutter/services.dart'
;
import
'config/user_feedback_strings.dart'
;
import
'config/user_feedback_strings.dart'
;
import
'package:flutter_boost/flutter_boost.dart'
;
import
'package:flutter_boost/flutter_boost.dart'
;
...
@@ -22,6 +25,12 @@ class _UserFeedbackSettingState extends State<UserFeedbackSetting> {
...
@@ -22,6 +25,12 @@ class _UserFeedbackSettingState extends State<UserFeedbackSetting> {
@override
@override
void
initState
()
{
void
initState
()
{
super
.
initState
();
super
.
initState
();
scheduleMicrotask
(()
{
SystemChrome
.
setSystemUIOverlayStyle
(
SystemUiOverlayStyle
(
statusBarColor:
Colors
.
transparent
,
statusBarIconBrightness:
Brightness
.
dark
,
statusBarBrightness:
Brightness
.
light
));
});
openScreenshot
=
SpUtil
.
getInt
(
"openScreenshot"
)
??
0
;
openScreenshot
=
SpUtil
.
getInt
(
"openScreenshot"
)
??
0
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment