Fix thumbnails sizes

This commit is contained in:
Arkadiusz Fal
2021-07-12 19:05:16 +02:00
parent c5a4efd00f
commit 24a767e51c
9 changed files with 77 additions and 28 deletions

View File

@@ -31,7 +31,7 @@ struct VideoDetailsView: View {
VStack(alignment: .center) {
ZStack(alignment: .bottom) {
Group {
if let thumbnail = video.thumbnailURL(quality: "maxres") {
if let thumbnail = video.thumbnailURL(quality: .maxres) {
// to replace with AsyncImage when it is fixed with lazy views
URLImage(thumbnail) { image in
image