Removed 2s timeout before saving plugin config

This commit is contained in:
Samuel Elliott 2018-02-05 01:12:16 +00:00
parent 61cbcd8bb5
commit 4c414e80d4
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default class {
this.start = this.start.bind(this);
this.stop = this.stop.bind(this);
}
get configs() { return this.__pluginInternals.configs }
get info() { return this.__pluginInternals.info }
get icon() { return this.info.icon }
@ -44,7 +44,6 @@ export default class {
}
async saveSettings(newSettings) {
await this.sleep(2000); // Fake sleep to test loading
for (let category of newSettings) {
const oldCategory = this.pluginConfig.find(c => c.category === category.category);
for (let setting of category.settings) {