Update ThemeSettings.plugin.js

This commit is contained in:
Mirco Wittrien 2018-12-11 19:52:48 +01:00
parent 10c00ca7ae
commit 8a3584ef58
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ class ThemeSettings {
this.fs.writeFileSync(path, css);
BDFDB.showToast(`Updated ${amount} variable${amount == 1 ? "" : "s"} in ${bdthemes[name].filename}`, {type:"success"});
}
else BDFDB.showToast(`There are no changed variables to be updated in ${bdthemes[name].filename}`, {type:"warning"});
}
else BDFDB.showToast(`Could not find themefile: ${bdthemes[name].filename}`, {type:"error"});
});