change qrcode

This commit is contained in:
fyears
2022-01-01 23:26:01 +08:00
parent 4639b93cfa
commit 5b703334d7
3 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -96,10 +96,10 @@ export default class RemotelySavePlugin extends Plugin {
} else {
const copied = cloneDeep(parsed.result);
// new Notice(JSON.stringify(copied))
this.settings = copied;
this.settings = Object.assign({}, this.settings, copied);
this.saveSettings();
new Notice(
`New settings for ${this.manifest.name} saved. Reopen the plugin Settings to the effect.`
`New not-oauth2 settings for ${this.manifest.name} saved. Reopen the plugin Settings to the effect.`
);
}
});