title: Circular ProgressBar View does no longer animates with iOS15
body: <p>Using Swift5.5, iOS15.0.1,</p>
  <p>I had to realise that my circular ProgressBar does no longer animate after updating to iOS15.</p>
  <ol>
  <li><p>Below is my code - can anybody tell me what to do in order to make the circular ProgressBar-View animate again ?</p>
  </li>
  <li><p>Can anybody tell me how to circumvent in this example the deprecation-warning <code>animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.</code> ?</p>
  </li>
  </ol>
  <pre><code>import SwiftUI
  
  struct ContentView: View {
      
      @State var progressValue: Float = 0.28
      
      var body: some View {
          ProgressBar(progress: $progressValue)
      }
  }
  
  struct ContentView_Previews: PreviewProvider {
      static var previews: some View {
          ContentView()
      }
  }
  
  struct ProgressBar: View {
      @Binding var progress: Float
      
      var body: some View {
          ZStack {
              Circle()
                  .stroke(lineWidth: 20.0)
                  .opacity(0.3)
                  .foregroundColor(Color.red)
              
              Circle()
                  .trim(from: 0.0, to: CGFloat(min(self.progress, 1.0)))
                  .stroke(style: StrokeStyle(lineWidth: 20.0, lineCap: .round, lineJoin: .round))
                  .foregroundColor(Color.red)
                  .rotationEffect(Angle(degrees: 270.0))
                  .animation(.linear)
              Text(String(format: &quot;%.0f %%&quot;, min(self.progress, 1.0)*100.0))
                  .font(.largeTitle)
                  .bold()
          }
      }
  }
  </code></pre>
  <hr />
  <p>My original version looked like this:</p>
  <pre><code>Circle()
  .trim(from: 0, to: showFreespaceRing ? CGFloat(Double(freeDiskspace) / Double(totalDiskspace)) : 0)
  .stroke(Color.green.opacity(0.7), style: StrokeStyle(lineWidth: 10, lineCap: .round))
  .frame(width: circleDiam, height: circleDiam)
  .animation(.easeIn(duration: 1))
  .onAppear() {
      showFreespaceRing = true
  }
  </code></pre>