add onboarding tutorial + icon

This commit is contained in:
leminlimez committed 2025-05-31 21:13:48 -04:00
1 parent 3bad6ffe14
commit 2a81e09858
21 files changed
+406 -15

No files matched your search

+11 -1
View File
@@ -9,9 +9,19 @@ import SwiftUI
@main
struct Pocket_PosterApp: App {
@AppStorage("finishedTutorial") var finishedTutorial: Bool = false
var body: some Scene {
WindowGroup {
ContentView()
Group {
if finishedTutorial {
ContentView()
} else {
OnBoardingView()
}
}
.transition(.opacity)
.animation(.easeOut(duration: 0.5), value: finishedTutorial)
}
}
}