Skip to content

Commit

Permalink
Update animation API usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Jul 24, 2024
1 parent 9abf0eb commit 86743d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DuckDuckGo/AutofillLoginDetailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct AutofillLoginDetailsView: View {
viewModel.selectedCell = nil
}))
.listStyle(.insetGrouped)
.animation(.easeInOut)
.animation(.easeInOut, value: viewModel.viewMode)
}

private var editingContentView: some View {
Expand Down
1 change: 0 additions & 1 deletion DuckDuckGo/CompleteDownloadRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ struct CompleteDownloadRow: View {
}
.accessibilityLabel(UserText.actionShare)
.buttonStyle(.plain)
.animation(nil)
.background(
GeometryReader { geometryProxy in
Color.clear
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/OngoingDownloadRow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct ProgressCircle: View {
.stroke(style: StrokeStyle(lineWidth: Const.Size.progressStrokeWidth, lineCap: .butt, lineJoin: .miter))
.foregroundColor(.progressFill)
.rotationEffect(Angle(degrees: 270.0))
.animation(.linear)
.animation(.linear, value: self.progress)
}
}
}
Expand Down

0 comments on commit 86743d8

Please sign in to comment.