From af28ac6d3365131cfbde88aa2f848e507b510dd7 Mon Sep 17 00:00:00 2001 From: Josiah Campbell <9521010+jocmp@users.noreply.github.com> Date: Sat, 28 Dec 2024 21:17:12 -0600 Subject: [PATCH] Call GalleryItemsDataSource on MainActor --- ImageViewer/Source/GalleryItemsDataSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ImageViewer/Source/GalleryItemsDataSource.swift b/ImageViewer/Source/GalleryItemsDataSource.swift index e5d1d1e..0cf6fed 100644 --- a/ImageViewer/Source/GalleryItemsDataSource.swift +++ b/ImageViewer/Source/GalleryItemsDataSource.swift @@ -8,8 +8,8 @@ import UIKit +@MainActor public protocol GalleryItemsDataSource: AnyObject { - func itemCount() -> Int func provideGalleryItem(_ index: Int) -> GalleryItem }