refactor settings display
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-02 11:32:42 -06:00
parent c4b456b9e3
commit f165919ed4

View File

@ -282,11 +282,12 @@ class _MountSettingsWidgetState extends State<MountSettingsWidget> {
Icons.route, Icons.route,
); );
} else if (subKey == "Protocol") { } else if (subKey == "Protocol") {
_addStringSetting( _addListSetting(
hostConfigSettings, hostConfigSettings,
_settings?[key], _settings?[key],
subKey, subKey,
subValue, subValue,
["http", "https"],
Icons.http, Icons.http,
); );
} else if (subKey == "TimeoutMs") { } else if (subKey == "TimeoutMs") {