Skip to content

Commit

Permalink
Update demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
leoz committed Jan 25, 2024
1 parent 7f1a15e commit 908f7e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Demo/CachedImageDemo/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ struct ContentView: View {
image
.resizable()
.aspectRatio(contentMode: .fit)
.scaledToFit()
},
placeholder: {
Text("Loading ...")
ProgressView()
.frame(maxWidth: .infinity, alignment: .center)
}
)
.scaledToFit()
.listRowSeparator(.hidden)
}
.environment(\.imageCache, imageCache)
}
Expand Down

0 comments on commit 908f7e9

Please sign in to comment.