Skip to content
This repository was archived by the owner on May 25, 2025. It is now read-only.

Commit ca000ed

Browse files
committed
fix: fix folderv change notice keep popup after ignore it
1 parent def945e commit ca000ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fn-main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export default class ALxFolderNote extends Plugin {
6565

6666
noticeFoldervChange() {
6767
if (
68-
!this.app.plugins.plugins["alx-folder-note-folderv"] ||
69-
!Number(localStorage.getItem(foldervNotifiedKey))
68+
!this.app.plugins.plugins["alx-folder-note-folderv"] && // not installed
69+
!Number(localStorage.getItem(foldervNotifiedKey)) // not notified
7070
) {
7171
new ClickNotice(
7272
(frag) => {
@@ -82,7 +82,7 @@ export default class ALxFolderNote extends Plugin {
8282
this.app.setting.openTabById(this.manifest.id),
8383
);
8484
frag.createEl("button", {
85-
text: "Ignore",
85+
text: "Don't show this again",
8686
});
8787
},
8888
() => localStorage.setItem(foldervNotifiedKey, "1"),

0 commit comments

Comments
 (0)