Skip to content

Commit

Permalink
[#653] Temporary disable Slider intro for iOS (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan authored Apr 19, 2022
1 parent 97e7f7c commit 876338e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ios/CCC/UI/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ struct MainView: View {
easing: Animation.easeInOut(duration: 0.5)
) {
if observable.viewModel.isFistRun() {
SliderView()
CurrenciesView(onBaseChange: { _ in })
} else {
CalculatorView()
}
Expand Down
4 changes: 3 additions & 1 deletion ios/CCC/UI/SliderView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Mustafa Ozhan on 30/01/2021.
// Copyright © 2021 orgName. All rights reserved.
//

#if DEBUG
import SwiftUI
import Resources
import NavigationStack
Expand Down Expand Up @@ -124,3 +124,5 @@ struct SliderViewPreviews: PreviewProvider {
SliderView().colorScheme(.light)
}
}

#endif

0 comments on commit 876338e

Please sign in to comment.