Commit 8f2fdbed authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

add icon for number setting

parent 112090a3
...@@ -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]),
), ),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment