Try to fix the unresponsive issue when notifications are showed

pull/2015/head
LASER-Yi 2 years ago
parent c750fa45c8
commit c7b4292100

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

Loading…
Cancel
Save