stuff
This commit is contained in:
parent
7aa80be2e4
commit
888195d4b5
|
@ -572,7 +572,7 @@ module.exports = (_ => {
|
|||
if (!newVersion) return callback(null);
|
||||
if (pluginName == newName && BDFDB.NumberUtils.getVersionDifference(newVersion[0], window.PluginUpdates.plugins[url].version) > 0.2) {
|
||||
BDFDB.NotificationUtils.toast(BDFDB.LanguageUtils.LibraryStringsFormat("toast_plugin_force_updated", pluginName), {
|
||||
type: "warn",
|
||||
type: "warning",
|
||||
noPointer: true
|
||||
});
|
||||
BDFDB.PluginUtils.downloadUpdate(pluginName, url);
|
||||
|
|
|
@ -606,7 +606,7 @@ module.exports = (_ => {
|
|||
onClick: _ => {
|
||||
let source = settingsPanel.props._node.querySelector(`.input-${key}src ` + BDFDB.dotCN.input).value.trim();
|
||||
if (!source.length) {
|
||||
BDFDB.NotificationUtils.toast(`Sound file was removed.`, {type: "warn"});
|
||||
BDFDB.NotificationUtils.toast(`Sound file was removed.`, {type: "warning"});
|
||||
successSavedAudio(key, source, source);
|
||||
}
|
||||
else if (source.indexOf("http") == 0) BDFDB.LibraryRequires.request(source, (error, response, result) => {
|
||||
|
|
Loading…
Reference in New Issue