mirror of
https://github.com/yattee/yattee.git
synced 2025-10-15 11:58:14 +00:00
Use CachedAsyncImage if possible
This commit is contained in:
@@ -7,7 +7,9 @@ final class ThumbnailsModel: ObservableObject {
|
||||
@Published var unloadable = Set<URL>()
|
||||
|
||||
func insertUnloadable(_ url: URL) {
|
||||
unloadable.insert(url)
|
||||
DispatchQueue.main.async {
|
||||
self.unloadable.insert(url)
|
||||
}
|
||||
}
|
||||
|
||||
func isUnloadable(_ url: URL!) -> Bool {
|
||||
|
Reference in New Issue
Block a user