File tree Expand file tree Collapse file tree
Taskito/Views/ComponentViews Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ struct CountdownView: View {
2424 . font ( . system( size: 120 , weight: . thin, design: . rounded) )
2525 . foregroundStyle ( Color . primary. opacity ( isTimerRunning ? 1 : 0.6 ) )
2626 . scaleEffect ( isTimerRunning ? 1.0 : 0.85 )
27- . animation ( . spring( response: isTimerRunning ? 0.4 : 0.6 , dampingFraction: isTimerRunning ? 0.65 : 0.8 ) , value: isTimerRunning)
27+ . animation ( . spring( response: isTimerRunning ? 0.4 : 0.6 , dampingFraction: isTimerRunning ? 0.7 : 0.8 ) , value: isTimerRunning)
2828
2929 // Time adjustment buttons - visually grouped with timer
3030 HStack ( spacing: 12 ) {
@@ -43,8 +43,6 @@ struct CountdownView: View {
4343 isTimerRunning: isTimerRunning,
4444 action: onPlayPause
4545 ) . padding ( . bottom, 22 )
46-
47- // Spacer()
4846 }
4947 . frame ( maxWidth: . infinity, maxHeight: . infinity)
5048
@@ -67,7 +65,7 @@ private struct PlayPauseButton: View {
6765 . font ( . system( size: 18 , weight: . medium) )
6866 . opacity ( isTimerRunning ? 0 : 1 )
6967 . scaleEffect ( isTimerRunning ? 0.5 : 1 )
70-
68+
7169 Image ( systemName: " stop.fill " )
7270 . font ( . system( size: 18 , weight: . medium) )
7371 . opacity ( isTimerRunning ? 1 : 0 )
You can’t perform that action at this time.
0 commit comments