Don't observe thumbnails model in thumbnails view

This commit is contained in:
Arkadiusz Fal 2022-12-13 13:13:58 +01:00
parent e4d583a263
commit d5626b877c

View File

@ -3,7 +3,7 @@ import SwiftUI
struct ThumbnailView: View { struct ThumbnailView: View {
var url: URL? var url: URL?
@ObservedObject private var thumbnails = ThumbnailsModel.shared private let thumbnails = ThumbnailsModel.shared
var body: some View { var body: some View {
WebImage(url: url) WebImage(url: url)