mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
Update onboarding
This commit is contained in:
parent
5b489ee90d
commit
5accee5d02
6 changed files with 78 additions and 81 deletions
|
|
@ -395,11 +395,16 @@ class DynamicIslandViewModel: NSObject, ObservableObject {
|
|||
}
|
||||
}
|
||||
|
||||
private var helloCloseScheduled = false
|
||||
|
||||
func closeHello() {
|
||||
guard !helloCloseScheduled else { return }
|
||||
helloCloseScheduled = true
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + 3.5) { [weak self] in
|
||||
self?.coordinator.firstLaunch = false
|
||||
withAnimation(self?.animationLibrary.animation) {
|
||||
self?.close()
|
||||
guard let self else { return }
|
||||
self.coordinator.firstLaunch = false
|
||||
withAnimation(self.animationLibrary.animation) {
|
||||
self.close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue