hotfix for the broken animation

The .animation( is causing a visual issue in the views stack, the progress bar is animated to the bottom position. if we want easyInOut animation, we need to find a proper solution
This commit is contained in:
Lukas Korba 2022-03-01 10:40:43 +01:00
parent e52b28adc3
commit 907bcb2598
2 changed files with 0 additions and 3 deletions

View File

@ -10,7 +10,6 @@ import ComposableArchitecture
struct OnboardingScreen: View {
let store: Store<OnboardingState, OnboardingAction>
let animationDuration: CGFloat = 0.8
var body: some View {
GeometryReader { proxy in

View File

@ -9,7 +9,6 @@ import SwiftUI
struct OnboardingProgressStyle: ProgressViewStyle {
let height: CGFloat = 3
let animation: Animation = .easeInOut
let gradient = LinearGradient(
colors: [
Asset.Colors.ProgressIndicator.gradientLeft.color,
@ -53,7 +52,6 @@ struct OnboardingProgressStyle: ProgressViewStyle {
}
}
.frame(height: height)
.animation(animation)
}
}
}