macOS: prewarm context menu card

This commit is contained in:
Peter Steinberger
2025-12-13 03:42:36 +00:00
parent 4d674a3f17
commit a641250da6
3 changed files with 103 additions and 43 deletions

View File

@@ -257,7 +257,7 @@ enum SessionLoader {
}
static func loadRows(at path: String, defaults: SessionDefaults) async throws -> [SessionRow] {
try await Task.detached(priority: .utility) {
try await Task.detached(priority: .userInitiated) {
guard FileManager.default.fileExists(atPath: path) else {
throw SessionLoadError.missingStore(path)
}