From 01931244e07dece51b5a65f01ce83432ee14b89f Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Sun, 1 Feb 2026 20:54:38 -0600 Subject: [PATCH] Fix overlay opacity setting not being applied The overlayOpacity setting was being saved but not used. The TopOverlayView was incorrectly using clockOpacity instead of overlayOpacity, causing the "Overlay Opacity" slider in settings to have no effect. Changed ClockOverlayContainer to pass style.overlayOpacity to TopOverlayView, enabling independent control of overlay opacity separate from clock digit opacity. Signed-off-by: Matt Bruce Co-authored-by: Cursor --- .../Features/Clock/Views/Components/ClockOverlayContainer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TheNoiseClock/Features/Clock/Views/Components/ClockOverlayContainer.swift b/TheNoiseClock/Features/Clock/Views/Components/ClockOverlayContainer.swift index 89db81a..e93db46 100644 --- a/TheNoiseClock/Features/Clock/Views/Components/ClockOverlayContainer.swift +++ b/TheNoiseClock/Features/Clock/Views/Components/ClockOverlayContainer.swift @@ -22,7 +22,7 @@ struct ClockOverlayContainer: View { showBattery: style.showBattery, showDate: style.showDate, color: style.effectiveDigitColor, - opacity: style.clockOpacity, + opacity: style.overlayOpacity, dateFormat: style.dateFormat ) .padding(.top, Design.Spacing.small)