Build-Fix: KitColor statt RGBColor (Namenskonflikt mit QuickDraw), öffentlicher JerseySuggestion-Init, k-means vereinfacht, CGFloat→Double; Warnungen (NSLock in async, Captures)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
9dcef7bd88
commit
3aa5bdef0e
6 files changed
+72
-40
No files matched your search
@@ -406,7 +406,7 @@ final class AppState: ObservableObject {
|
||||
do {
|
||||
let result = try await IngestService.run(
|
||||
sources: sources, settings: settings, exiftool: et,
|
||||
onFolder: { url in
|
||||
onFolder: { [weak self] url in
|
||||
Task { @MainActor [weak self] in
|
||||
guard let self else { return }
|
||||
self.tasks.update(taskID, folder: url)
|
||||
@@ -419,7 +419,7 @@ final class AppState: ObservableObject {
|
||||
}
|
||||
}
|
||||
},
|
||||
progress: { p in
|
||||
progress: { [weak self] p in
|
||||
Task { @MainActor [weak self] in
|
||||
self?.tasks.update(taskID, done: p.done, total: p.total, detail: p.currentFile)
|
||||
}
|
||||
@@ -570,7 +570,7 @@ final class AppState: ObservableObject {
|
||||
done.n = snapshot.count - missing.count
|
||||
let total = snapshot.count
|
||||
await pool.readMetadata(groups: groups) { [weak self] meta in
|
||||
await MainActor.run {
|
||||
await MainActor.run { [weak self] in
|
||||
guard let self, self.metadataGeneration == generation else { return }
|
||||
for (path, fileMeta) in meta {
|
||||
guard let item = byPrimary[path], let idx = self.indexByID[item.id] else { continue }
|
||||
|
||||
Reference in new issue
Block a user