fix: handle notification changes and timing review text safely

- Dismiss stale overlay progress when notification mode changes
- Validate and forward combined timing review text
- Keep macOS timing preview socket paths within system limits
This commit is contained in:
2026-08-30 02:49:37 -07:00
parent 90a5dcd2af
commit b58f391b42
7 changed files with 107 additions and 39 deletions
+4 -4
View File
@@ -1237,11 +1237,11 @@ export class AnkiIntegration {
}
private endUpdateProgress(): void {
if (this.overlayUpdateProgressActive) {
this.overlayUpdateProgressActive = false;
this.overlayNotificationDismissCallback?.('anki-update-progress');
}
if (!this.shouldUseOsdNotifications()) {
if (this.overlayUpdateProgressActive) {
this.overlayUpdateProgressActive = false;
this.overlayNotificationDismissCallback?.('anki-update-progress');
}
return;
}
endUpdateProgress(this.uiFeedbackState, (timer) => {