Refine UI

This commit is contained in:
Hariharan Mudaliar 2025-11-30 02:23:57 +05:30
commit 28a805c971

View file

@ -37,6 +37,7 @@ struct TimerLiveActivity: View {
@Default(.timerSolidColor) private var solidColor
@Default(.timerPresets) private var timerPresets
@Default(.timerControlWindowEnabled) private var controlWindowEnabled
@Default(.enableMinimalisticUI) private var enableMinimalisticUI
private var notchContentHeight: CGFloat {
max(0, vm.effectiveClosedNotchHeight - (isHovering ? 0 : 12))
@ -614,6 +615,7 @@ struct TimerLiveActivity: View {
private func triggerTransientLabel() {
guard !showsLabel else { return }
guard !enableMinimalisticUI else { return }
cancelTransientLabel()
withAnimation(.smooth) {
showTransientLabel = true