From d5626b877c98bb71383bbb53e44dd2a7b4eb8b18 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 13 Dec 2022 13:13:58 +0100 Subject: [PATCH] Don't observe thumbnails model in thumbnails view --- Shared/Videos/ThumbnailView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Videos/ThumbnailView.swift b/Shared/Videos/ThumbnailView.swift index e30effbb..fb1741bb 100644 --- a/Shared/Videos/ThumbnailView.swift +++ b/Shared/Videos/ThumbnailView.swift @@ -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)