Skip to content

Commit 02cadc7

Browse files
committed
Call GalleryItemsDataSource on MainActor
1 parent 9f7636c commit 02cadc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImageViewer/Source/GalleryItemsDataSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
import UIKit
1010

11+
@MainActor
1112
public protocol GalleryItemsDataSource: AnyObject {
12-
1313
func itemCount() -> Int
1414
func provideGalleryItem(_ index: Int) -> GalleryItem
1515
}

0 commit comments

Comments
 (0)