mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Refine UI
This commit is contained in:
parent
8a76d9e86f
commit
28a805c971
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue