Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
AStA
Digitaler 3G-Nachweis
Commits
8f2fdbed
Commit
8f2fdbed
authored
Jan 20, 2022
by
Leon Tappe
🔥
Browse files
add icon for number setting
parent
112090a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
management/lib/pages/server_settings_page.dart
View file @
8f2fdbed
...
@@ -71,8 +71,11 @@ class _ServerSettingsPageState extends State<ServerSettingsPage> {
...
@@ -71,8 +71,11 @@ class _ServerSettingsPageState extends State<ServerSettingsPage> {
children:
[
children:
[
...
_settings
.
keys
.
map
(
...
_settings
.
keys
.
map
(
(
String
key
)
=>
CardListTile
(
(
String
key
)
=>
CardListTile
(
leading:
Icon
(
leading:
Icon
(
key
.
contains
(
'runtime'
)
key
.
contains
(
'runtime'
)
?
Icons
.
lock_clock_rounded
:
Icons
.
text_snippet_rounded
),
?
Icons
.
lock_clock_rounded
:
key
.
contains
(
'motd'
)
?
Icons
.
text_snippet_rounded
:
Icons
.
pin_rounded
),
title:
Text
(
settingTitles
[
key
]
??
''
),
title:
Text
(
settingTitles
[
key
]
??
''
),
onTap:
()
=>
_onTappedSetting
(
key
,
_settings
[
key
]),
onTap:
()
=>
_onTappedSetting
(
key
,
_settings
[
key
]),
),
),
...
...
Write
Preview
Supports
Markdown
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