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