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 {
var url: URL?
@ObservedObject private var thumbnails = ThumbnailsModel.shared
private let thumbnails = ThumbnailsModel.shared
var body: some View {
WebImage(url: url)