Files
Pocket-Poster/Pocket Poster/Pocket_PosterApp.swift
T

28 lines
577 B
Swift

//
// Pocket_PosterApp.swift
// Pocket Poster
//
// Created by lemin on 5/31/25.
//
import SwiftUI
@main
struct Pocket_PosterApp: App {
@AppStorage("finishedTutorial") var finishedTutorial: Bool = false
var body: some Scene {
WindowGroup {
Group {
if finishedTutorial {
ContentView()
} else {
OnBoardingView()
}
}
.transition(.opacity)
.animation(.easeOut(duration: 0.5), value: finishedTutorial)
}
}
}