We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 93a1363 + 44fb292 commit 4e969f4Copy full SHA for 4e969f4
SwiftUI-WorkoutApp/CachedAcyncImage/Sources/CachedAcyncImage/ImageLoader.swift
@@ -17,10 +17,7 @@ final class ImageLoader: ObservableObject {
17
deinit { cancel() }
18
19
func load() {
20
- guard let url = url, !isLoading else {
21
- image = .init(named: "defaultWorkoutImage")
22
- return
23
- }
+ guard let url = url, !isLoading else { return }
24
25
if let image = cache?[url] {
26
self.image = image
0 commit comments