Skip to content

Commit

Permalink
Remove firstLaunchOnboarding (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
  • Loading branch information
imjn and stephencelis authored Jan 25, 2024
1 parent ab1daa7 commit 595afc1
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Sources/AppFeature/AppView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 595afc1

Please sign in to comment.