Try to fix the unresponsive issue when notifications are showed

This commit is contained in:
LASER-Yi 2023-02-08 10:25:57 +08:00
parent c750fa45c8
commit c7b4292100
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class TaskDispatcher {
} else {
showNotification(notification.progress.pending(item.id, item.header));
this.progress[item.id] = item;
this.updateProgress(items);
setTimeout(() => this.updateProgress(items), 1000);
}
});
}