Skip to content

Commit

Permalink
🐛 修复更新日志通知不自动关闭
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Jun 27, 2023
1 parent 06c3ef7 commit 7a7e221
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/service/system/manager.ts
Expand Up @@ -82,6 +82,7 @@ export class SystemManager extends Manager {
chrome.tabs.create({
url: `https://docs.scriptcat.org/docs/change/#${ExtVersion}`,
});
chrome.notifications.clear(nid);
clearTimeout(tm);
};
tm = setTimeout(() => {
Expand Down

0 comments on commit 7a7e221

Please sign in to comment.