Skip to content

Commit

Permalink
Delete OnChange.
Browse files Browse the repository at this point in the history
  • Loading branch information
bullinnyc committed Jan 20, 2024
1 parent e2d841f commit 2161583
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 58 deletions.
57 changes: 0 additions & 57 deletions Sources/CachedAsyncImage/Modifiers/OnChange.swift

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/CachedAsyncImage/Views/CachedAsyncImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public struct CachedAsyncImage: View {
AnyView(self.image(image))
}
}
.onChange(of: url) { _, newValue in
.onChange(of: url) { newValue in
imageLoader.fetchImage(from: newValue)
}
}
Expand Down

0 comments on commit 2161583

Please sign in to comment.