Render top-of-hour clock toggle as on/off in property UI

This commit is contained in:
Jage9
2026-02-27 01:13:44 -05:00
parent 3b414b1f89
commit 76a54e48be
2 changed files with 2 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ export function createItemPropertyPresentation(deps: PresentationDeps): {
}
if (key === 'timeZone') return String(item.params.timeZone ?? getDefaultClockTimeZone());
if (key === 'use24Hour') return item.params.use24Hour === true ? 'on' : 'off';
if (key === 'topOfHourAnnounce') return item.params.topOfHourAnnounce === true ? 'on' : 'off';
if (key === 'mediaChannel') return normalizeRadioChannel(item.params.mediaChannel);
if (key === 'mediaEffect') return normalizeRadioEffect(item.params.mediaEffect);
if (key === 'mediaEffectValue') return String(normalizeRadioEffectValue(item.params.mediaEffectValue));