Skip to content

Commit

Permalink
[#3959] Remove EmptyView Logic (#3960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan authored Sep 20, 2024
1 parent 31bb605 commit 808702d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions ios/CCC/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,10 @@ struct Application: App {
transitionType: .default,
easing: Animation.easeInOut
) {
if scenePhase == .inactive {
EmptyView()
if observable.state.shouldOnboardUser {
IntroSlideRootView()
} else {
if observable.state.shouldOnboardUser {
IntroSlideRootView()
} else {
CalculatorRootView()
}
CalculatorRootView()
}
}.onAppear {
observable.startObserving()
Expand Down

0 comments on commit 808702d

Please sign in to comment.