提交 14651bd6 编写于 作者: B Benjamin Pasero

fix #51678

上级 583f1e49
......@@ -185,7 +185,7 @@ export class NotificationsToasts extends Themable {
let timeoutHandle: number;
const hideAfterTimeout = () => {
timeoutHandle = setTimeout(() => {
const showsProgress = item.progress && !item.progress.state.done;
const showsProgress = item.hasProgress() && !item.progress.state.done;
if (!notificationList.hasFocus() && !item.expanded && !isMouseOverToast && !showsProgress) {
this.removeToast(item);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册