update toasts

This commit is contained in:
Zack Rauen 2017-11-03 16:08:53 -04:00
parent 63591702eb
commit bbe3cafed8
2 changed files with 6 additions and 2 deletions

View File

@ -2380,7 +2380,8 @@
font-size: 14px;
opacity: 1;
margin-top: 10px;
pointer-events: auto;
pointer-events: none;
user-select: none;
}
@keyframes bd-toast-down {

View File

@ -1140,7 +1140,10 @@ PluginModule.prototype.loadPlugins = function () {
if (!pluginCookie[name]) pluginCookie[name] = false;
if (pluginCookie[name]) {
try { plugin.start(); }
try {
plugin.start();
if (settingsCookie["bda-gs-10"]) mainCore.showToast(`${plugin.getName()} v${plugin.getVersion()} has started.`);
}
catch (err) {
pluginCookie[name] = false;
utils.err("Plugin " + name + " could not be started.", err);