Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rustdesk
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
李朝发
rustdesk
Commits
7cecf32d
Commit
7cecf32d
authored
Sep 21, 2022
by
rustdesk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better warn icon
parent
715a780e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
desktop_setting_page.dart
flutter/lib/desktop/pages/desktop_setting_page.dart
+6
-5
No files found.
flutter/lib/desktop/pages/desktop_setting_page.dart
View file @
7cecf32d
...
...
@@ -348,7 +348,7 @@ class _SafetyState extends State<_Safety> with AutomaticKeepAliveClientMixin {
permissions
(
context
),
password
(
context
),
_Card
(
title:
'ID'
,
children:
[
changeId
()]),
connection
(
context
),
more
(
context
),
]),
),
],
...
...
@@ -462,13 +462,13 @@ class _SafetyState extends State<_Safety> with AutomaticKeepAliveClientMixin {
})));
}
Widget
connection
(
BuildContext
context
)
{
Widget
more
(
BuildContext
context
)
{
bool
enabled
=
!
locked
;
return
_Card
(
title:
'Security'
,
children:
[
_OptionCheckBox
(
context
,
'Deny remote access'
,
'stop-service'
,
checkedIcon:
const
Icon
(
Icons
.
warning
,
color:
Color
s
.
yellowAccent
,
Icons
.
warning
_amber_rounded
,
color:
Color
.
fromARGB
(
255
,
255
,
204
,
0
)
,
),
enabled:
enabled
),
Offstage
(
...
...
@@ -571,7 +571,8 @@ class _SafetyState extends State<_Safety> with AutomaticKeepAliveClientMixin {
.
marginOnly
(
right:
5
),
Offstage
(
offstage:
!
hasWhitelist
.
value
,
child:
const
Icon
(
Icons
.
warning
,
color:
Colors
.
yellowAccent
)
child:
const
Icon
(
Icons
.
warning_amber_rounded
,
color:
Color
.
fromARGB
(
255
,
255
,
204
,
0
))
.
marginOnly
(
right:
5
),
),
Expanded
(
...
...
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