Show local co-op icon in settings

This commit is contained in:
redphx
2025-01-04 18:43:24 +07:00
parent b3697df8dc
commit 488b0dfef2
7 changed files with 98 additions and 82 deletions

View File

@@ -1008,6 +1008,7 @@ export class SettingsDialog extends NavigationDialog {
const $row = createSettingRow(label, !prefDefinition?.unsupported && $control, {
$note,
multiLines: setting.multiLines,
icon: prefDefinition?.labelIcon,
});
if (pref) {
$row.htmlFor = `bx_setting_${escapeCssSelector(pref)}`;