diff --git a/swift/exhale.xcodeproj/project.xcworkspace/xcuserdata/peterklingelhofer.xcuserdatad/UserInterfaceState.xcuserstate b/swift/exhale.xcodeproj/project.xcworkspace/xcuserdata/peterklingelhofer.xcuserdatad/UserInterfaceState.xcuserstate index 95015ff..0760782 100644 Binary files a/swift/exhale.xcodeproj/project.xcworkspace/xcuserdata/peterklingelhofer.xcuserdatad/UserInterfaceState.xcuserstate and b/swift/exhale.xcodeproj/project.xcworkspace/xcuserdata/peterklingelhofer.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/swift/exhale/ContentView.swift b/swift/exhale/ContentView.swift index bcf4679..8d2c14a 100644 --- a/swift/exhale/ContentView.swift +++ b/swift/exhale/ContentView.swift @@ -20,9 +20,6 @@ extension Shape { func colorTransitionFill(settingsModel: SettingsModel, animationProgress: CGFloat, breathingPhase: BreathingPhase, endRadius: CGFloat = 0) -> some View { let isInhalePhase = breathingPhase == .inhale || breathingPhase == .holdAfterInhale let lastColor = isInhalePhase ? settingsModel.inhaleColor : settingsModel.exhaleColor - let nextColor = isInhalePhase ? settingsModel.exhaleColor : settingsModel.inhaleColor - let startingColor = isInhalePhase ? settingsModel.exhaleColor : settingsModel.inhaleColor - let transitionFraction = breathingPhase == .exhale ? Double(1 - animationProgress) : Double(animationProgress) if settingsModel.colorFillType != .constant { if settingsModel.shape == .rectangle {