From 595afc1a425e490f078a7b6e1d4ce6e6f28a56b6 Mon Sep 17 00:00:00 2001 From: Imajin Kawabe Date: Thu, 25 Jan 2024 21:44:33 +0000 Subject: [PATCH] Remove firstLaunchOnboarding (#198) Co-authored-by: Stephen Celis --- Sources/AppFeature/AppView.swift | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Sources/AppFeature/AppView.swift b/Sources/AppFeature/AppView.swift index e6430ae8..030deb0e 100644 --- a/Sources/AppFeature/AppView.swift +++ b/Sources/AppFeature/AppView.swift @@ -46,22 +46,6 @@ public struct AppReducer { self.destination = destination self.home = home } - - var firstLaunchOnboarding: Onboarding.State? { - switch self.destination { - case .game, .none: - return nil - - case let .onboarding(onboarding): - switch onboarding.presentationStyle { - case .demo, .help: - return nil - - case .firstLaunch: - return onboarding - } - } - } } public enum Action {