From 8bba273aa4fb14a31b77cf95506bb6608744d5a0 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sun, 9 Mar 2025 12:09:22 +0100 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 4 ++-- Library/_res/0BDFDB.data.json | 3 +-- Themes/BlurpleRecolor/BlurpleRecolor.css | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 55247711c9..7c879fcc07 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2,7 +2,7 @@ * @name BDFDB * @author DevilBro * @authorId 278543574059057154 - * @version 4.0.2 + * @version 4.0.3 * @description Required Library for DevilBro's Plugins * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -1165,7 +1165,7 @@ module.exports = (_ => { libraryCSS = css; const backupObj = getBackup(dataFileName, dataFilePath); - const UserStore = BdApi.Webpack.getModule(BdApi.Webpack.Filters.byProps("getCurrentUser")); + const UserStore = BdApi.Webpack && BdApi.Webpack.getModule && BdApi.Webpack.Filters && BdApi.Webpack.Filters.byKeys && BdApi.Webpack.getModule(BdApi.Webpack.Filters.byKeys("getCurrentUser")); if (backupObj.backup && backupObj.hashIsSame || UserStore && UserStore.getCurrentUser().id == "278543574059057154") parseData(backupObj.backup); else requestFunction(`https://mwittrien.github.io/BetterDiscordAddons/Library/_res/${dataFileName}`, {timeout: 60000}, (e, r, b) => { if ((e || !b || r.statusCode != 200) && tryAgain) return BDFDB.TimeUtils.timeout(_ => requestLibraryData(), 10000); diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index 9fa0dc8fb5..a8fe7d4933 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -970,7 +970,6 @@ "inputNumberWrapper": "numberInputWrapper_j4svZS", "inputNumberWrapperDefault": "numberInputWrapperDefault_gRxcuK numberInputWrapper_j4svZS", "inputNumberWrapperMini": "numberInputWrapperMini_wtUU31 numberInputWrapper_j4svZS", - "inputSuccess": "success__0f084", "layerContainerZIndexDisabled": "zIndexDisabled_Pf4Txx", "listInput": "listInput_11g5Sr", "listInputDelete": "delete_M_nPTt", @@ -2555,7 +2554,7 @@ "inputnumberwrapperdefault": ["BDFDB", "inputNumberWrapperDefault"], "inputnumberwrappermini": ["BDFDB", "inputNumberWrapperMini"], "inputprefix": ["Input", "inputPrefix"], - "inputsuccess": ["BDFDB", "inputSuccess"], + "inputsuccess": ["Input", "success"], "inputwrapper": ["Input", "inputWrapper"], "invite": ["GuildInvite", "wrapper"], "invitebutton": ["GuildInvite", "button"], diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index d9ac2519ae..2477f47b6f 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -2068,11 +2068,11 @@ a.metadataDownload_f316dd { /* ---- 12.3. INPUTS ---- */ -.input__0f084:not(.error__0f084):not(.success_f8bc55):not(.focused__0f084):not(:focus):hover { +.input__0f084:not(.error__0f084):not(.success__0f084):not(.focused__0f084):not(:focus):hover { border-color: var(--deprecated-text-input-border-hover); } -.input__0f084:not(.error__0f084):not(.success_f8bc55).focused__0f084, -.input__0f084:not(.error__0f084):not(.success_f8bc55):focus { +.input__0f084:not(.error__0f084):not(.success__0f084).focused__0f084, +.input__0f084:not(.error__0f084):not(.success__0f084):focus { border-color: rgb(var(--accentcolor_v)); } .focused__0f084 {