Add CachedAsyncImage

This commit is contained in:
Arkadiusz Fal
2022-09-01 18:51:59 +02:00
parent b8380b2528
commit 418dae9dbe
9 changed files with 56 additions and 7 deletions

View File

@@ -1,3 +1,4 @@
import CachedAsyncImage
import SDWebImageSwiftUI
import SwiftUI
@@ -38,7 +39,7 @@ struct ChannelPlaylistCell: View {
.foregroundColor(.secondary)
if #available(iOS 15, macOS 12, *) {
AsyncImage(url: playlist.thumbnailURL) { image in
CachedAsyncImage(url: playlist.thumbnailURL) { image in
image
.resizable()
} placeholder: {