diff --git a/ios/CCC/UI/MainView.swift b/ios/CCC/UI/MainView.swift index d4be217b8d..9ab1be2c08 100644 --- a/ios/CCC/UI/MainView.swift +++ b/ios/CCC/UI/MainView.swift @@ -27,7 +27,7 @@ struct MainView: View { easing: Animation.easeInOut(duration: 0.5) ) { if observable.viewModel.isFistRun() { - SliderView() + CurrenciesView(onBaseChange: { _ in }) } else { CalculatorView() } diff --git a/ios/CCC/UI/SliderView.swift b/ios/CCC/UI/SliderView.swift index b6f67793bd..a99efa00f9 100644 --- a/ios/CCC/UI/SliderView.swift +++ b/ios/CCC/UI/SliderView.swift @@ -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 @@ -124,3 +124,5 @@ struct SliderViewPreviews: PreviewProvider { SliderView().colorScheme(.light) } } + +#endif