Timer UI Fix

This commit is contained in:
Hariharan Mudaliar 2025-11-27 23:55:27 +05:30
commit 2ae9c89605

View file

@ -132,8 +132,6 @@ struct LockScreenTimerWidget: View {
.overlay(alignment: .topLeading) { .overlay(alignment: .topLeading) {
accentRibbon accentRibbon
} }
.animation(.smooth(duration: 0.22), value: timerManager.isPaused)
.animation(.smooth(duration: 0.22), value: timerManager.remainingTime)
.scaleEffect(animator.isPresented ? 1 : 0.9) .scaleEffect(animator.isPresented ? 1 : 0.9)
.opacity(animator.isPresented ? 1 : 0) .opacity(animator.isPresented ? 1 : 0)
.animation(.spring(response: 0.45, dampingFraction: 0.85, blendDuration: 0.22), value: animator.isPresented) .animation(.spring(response: 0.45, dampingFraction: 0.85, blendDuration: 0.22), value: animator.isPresented)
@ -222,6 +220,7 @@ struct LockScreenTimerWidget: View {
return return
} }
timerManager.stopTimer() timerManager.stopTimer()
LockScreenTimerWidgetPanelManager.shared.hide()
} }
private struct CircleButton: View { private struct CircleButton: View {