style: apply nix fmt to FirstLaunchPopout.swift
Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
72487f7a73
commit
74451ea362
@@ -77,15 +77,17 @@ final class FirstLaunchPopout {
|
||||
countdownTask?.cancel()
|
||||
countdownTask = nil
|
||||
guard let window = panel else { return }
|
||||
NSAnimationContext.runAnimationGroup({ context in
|
||||
context.duration = 0.2
|
||||
context.timingFunction = CAMediaTimingFunction(name: .easeIn)
|
||||
window.animator().alphaValue = 0
|
||||
}, completionHandler: {
|
||||
Task { @MainActor in
|
||||
window.close()
|
||||
}
|
||||
})
|
||||
NSAnimationContext.runAnimationGroup(
|
||||
{ context in
|
||||
context.duration = 0.2
|
||||
context.timingFunction = CAMediaTimingFunction(name: .easeIn)
|
||||
window.animator().alphaValue = 0
|
||||
},
|
||||
completionHandler: {
|
||||
Task { @MainActor in
|
||||
window.close()
|
||||
}
|
||||
})
|
||||
panel = nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user