Skip to content

Commit 87c07c7

Browse files
fix: store notification choices globally
1 parent a3febb6 commit 87c07c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils/Notifier.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ class Notifier {
9090
if (shouldStoreChoice === this.DONT_ASK_AGAIN) choice = this.DONT_ASK_AGAIN;
9191
if (shouldStoreChoice) {
9292
const config = this.pymakr.config.get().get("misc.notifications");
93-
this.pymakr.config.get().update(`misc.notifications`, { ...config, [id]: choice });
93+
this.pymakr.config
94+
.get()
95+
.update(`misc.notifications`, { ...config, [id]: choice }, vscode.ConfigurationTarget.Global);
9496
}
9597
}
9698

0 commit comments

Comments
 (0)