mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 23:54:32 +00:00
Timer UI Fix
This commit is contained in:
parent
c94fe2784c
commit
2ae9c89605
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue