Stabilize unit and UI tests for SportsTime
This commit is contained in:
@@ -821,7 +821,7 @@ final class ExportService {
|
||||
trip: Trip,
|
||||
games: [String: RichGame],
|
||||
itineraryItems: [ItineraryItem]? = nil,
|
||||
progressCallback: ((PDFAssetPrefetcher.PrefetchProgress) async -> Void)? = nil
|
||||
progressCallback: (@Sendable (PDFAssetPrefetcher.PrefetchProgress) async -> Void)? = nil
|
||||
) async throws -> URL {
|
||||
// Prefetch all assets
|
||||
let assets = await assetPrefetcher.prefetchAssets(
|
||||
|
||||
@@ -64,7 +64,7 @@ actor PDFAssetPrefetcher {
|
||||
func prefetchAssets(
|
||||
for trip: Trip,
|
||||
games: [String: RichGame],
|
||||
progressCallback: ((PrefetchProgress) async -> Void)? = nil
|
||||
progressCallback: (@Sendable (PrefetchProgress) async -> Void)? = nil
|
||||
) async -> PrefetchedAssets {
|
||||
var progress = PrefetchProgress()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user