diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 17199bee3b..764e18f65f 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -1074,7 +1074,7 @@ module.exports = (_ => { BDFDB.DOMUtils.removeClass(icon, BDFDB.disCN.noticeicon); notice.insertBefore(icon, noticeMessage); } - if (options.btn || options.button) notice.appendChild(BDFDB.DOMUtils.create(``)); + if (options.btn || options.button) notice.appendChild(BDFDB.DOMUtils.create(``)); if (options.id) notice.id = options.id.split(" ").join(""); if (options.selector) BDFDB.DOMUtils.addClass(notice, options.selector); if (options.css) BDFDB.DOMUtils.appendLocalStyle("BDFDBcustomNotificationBar" + id, options.css); diff --git a/Library/_res/BDFDB.data.json b/Library/_res/BDFDB.data.json index f40ddfc0b3..00edb870b8 100644 --- a/Library/_res/BDFDB.data.json +++ b/Library/_res/BDFDB.data.json @@ -2001,32 +2001,32 @@ "nitrostore": ["NitroStore", "applicationStore"], "nochannel": ["ChatWindow", "noChannel"], "notice": ["Notice", "notice"], - "noticebrand": ["Notice", ["noticeBrand", "colorBrand"]], + "noticebrand": ["Notice", "colorBrand"], "noticebutton": ["Notice", "button"], "noticecustom": ["Notice", "colorCustom"], - "noticedanger": ["Notice", ["noticeDanger", "colorDanger"]], + "noticedanger": ["Notice", "colorDanger"], "noticedark": ["Notice", "colorDark"], - "noticedefault": ["Notice", ["noticeDefault", "colorDefault"]], - "noticedownload": ["Notice", ["noticeDownload", "colorDownload"]], - "noticedismiss": ["Notice", ["dismiss", "closeButton"]], + "noticedefault": ["Notice", "colorDefault"], + "noticedownload": ["Notice", "colorDownload"], + "noticedismiss": ["Notice", "closeButton"], "noticeicon": ["NoticePlatform", "icon"], "noticeiconandroid": ["NoticePlatform", "iconAndroid"], "noticeiconapple": ["NoticePlatform", "iconApple"], "noticeiconwindows": ["NoticePlatform", "iconWindows"], - "noticeinfo": ["Notice", ["noticeInfo", "colorInfo"]], + "noticeinfo": ["Notice", "colorInfo"], "noticeneutral": ["Notice", "colorNeutral"], - "noticenotification": ["Notice", ["noticeNotification", "colorNotification"]], + "noticenotification": ["Notice", "colorNotification"], "noticeplatformicon": ["NoticePlatform", "platformIcon"], - "noticepremium": ["Notice", ["noticePremium", "colorPremium"]], + "noticepremium": ["Notice", "colorPremium"], "noticepremiumaction": ["NoticePlatform", "premiumAction"], "noticepremiumicon": ["NoticePlatform", "premiumIcon"], "noticepremiumlogo": ["NoticePlatform", "premiumLogo"], "noticepremiumtext": ["NoticePlatform", "premiumText"], "noticepremiumtier1": ["Notice", "noticePremiumTier1"], "noticepremiumtier2": ["Notice", "noticePremiumTier2"], - "noticespotify": ["Notice", ["noticeSpotify", "colorSpotify"]], - "noticestreamer": ["Notice", ["noticeStreamerMode", "colorStreamerMode"]], - "noticesuccess": ["Notice", ["noticeSuccess", "colorSuccess"]], + "noticespotify": ["Notice", "colorSpotify"], + "noticestreamer": ["Notice", "colorStreamerMode"], + "noticesuccess": ["Notice", "colorSuccess"], "noticetextlink": ["NoticePlatform", "textLink"], "noticewrapper": ["BDFDB", "noticeWrapper"], "note": ["SettingsItems", "note"],