diff --git a/Plugins/ImageUtilities/ImageUtilities.plugin.js b/Plugins/ImageUtilities/ImageUtilities.plugin.js index 18ad0f5e03..b56283c13e 100644 --- a/Plugins/ImageUtilities/ImageUtilities.plugin.js +++ b/Plugins/ImageUtilities/ImageUtilities.plugin.js @@ -2,7 +2,7 @@ * @name ImageUtilities * @author DevilBro * @authorId 278543574059057154 - * @version 5.4.1 + * @version 5.4.2 * @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.) * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -1130,7 +1130,7 @@ module.exports = (_ => { if (!cachedImages || cachedImages.channelId != viewedImage.channelId || cachedImages.amount && this.getImageIndex(cachedImages.all, viewedImage) == -1) { BDFDB.TimeUtils.clear(viewedImageTimeout); let channel = BDFDB.LibraryStores.ChannelStore.getChannel(viewedImage.channelId); - BDFDB.LibraryModules.APIUtils.get({ + BDFDB.LibraryModules.APIUtils.HTTP.get({ url: BDFDB.DiscordConstants.Endpoints.MESSAGES(channel.id), query: BDFDB.LibraryModules.APIEncodeUtils.stringify({ channel_id: channel && channel.guild_id ? (BDFDB.ChannelUtils.isThread(channel) && channel.parent_id || channel.id) : null, @@ -1610,7 +1610,7 @@ module.exports = (_ => { if (offset > 0 && !cachedImages.lastReached && cachedImages.index == (cachedImages.amount - 1)) { let channel = BDFDB.LibraryStores.ChannelStore.getChannel(viewedImage.channelId); - BDFDB.LibraryModules.APIUtils.get({ + BDFDB.LibraryModules.APIUtils.HTTP.get({ url: BDFDB.DiscordConstants.Endpoints.MESSAGES(channel.id), query: BDFDB.LibraryModules.APIEncodeUtils.stringify({ channel_id: channel && channel.guild_id ? (BDFDB.ChannelUtils.isThread(channel) && channel.parent_id || channel.id) : null, @@ -1637,7 +1637,7 @@ module.exports = (_ => { } if (offset < 0 && !cachedImages.firstReached && cachedImages.index == 0) { let channel = BDFDB.LibraryStores.ChannelStore.getChannel(viewedImage.channelId); - BDFDB.LibraryModules.APIUtils.get({ + BDFDB.LibraryModules.APIUtils.HTTP.get({ url: BDFDB.DiscordConstants.Endpoints.MESSAGES(channel.id), query: BDFDB.LibraryModules.APIEncodeUtils.stringify({ channel_id: channel && channel.guild_id ? (BDFDB.ChannelUtils.isThread(channel) && channel.parent_id || channel.id) : null, diff --git a/Plugins/LastMessageDate/LastMessageDate.plugin.js b/Plugins/LastMessageDate/LastMessageDate.plugin.js index bc4cb771ee..9d6ce7958a 100644 --- a/Plugins/LastMessageDate/LastMessageDate.plugin.js +++ b/Plugins/LastMessageDate/LastMessageDate.plugin.js @@ -2,7 +2,7 @@ * @name LastMessageDate * @author DevilBro * @authorId 278543574059057154 - * @version 1.3.7 + * @version 1.3.8 * @description Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -73,7 +73,7 @@ module.exports = (_ => { if (loadedUsers[this.props.guildId][this.props.user.id] === undefined && !requestedUsers[this.props.guildId][this.props.user.id]) { requestedUsers[this.props.guildId][this.props.user.id] = true; queuedInstances[this.props.guildId][this.props.user.id] = [].concat(queuedInstances[this.props.guildId][this.props.user.id]).filter(n => n); - BDFDB.LibraryModules.APIUtils.get({ + BDFDB.LibraryModules.APIUtils.HTTP.get({ url: this.props.isGuild ? BDFDB.DiscordConstants.Endpoints.SEARCH_GUILD(this.props.guildId) : BDFDB.DiscordConstants.Endpoints.SEARCH_CHANNEL(this.props.channelId), query: BDFDB.LibraryModules.APIEncodeUtils.stringify({ author_id: this.props.user.id, diff --git a/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js b/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js index ee7618a054..198819e7e1 100644 --- a/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js +++ b/Plugins/ReadAllNotificationsButton/ReadAllNotificationsButton.plugin.js @@ -2,7 +2,7 @@ * @name ReadAllNotificationsButton * @author DevilBro * @authorId 278543574059057154 - * @version 1.7.5 + * @version 1.7.6 * @description Adds a Clear Button to the Server List and the Mentions Popout * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -308,7 +308,7 @@ module.exports = (_ => { clearing = true; let toast = BDFDB.NotificationUtils.toast(`${this.labels.toast_clearing} - ${BDFDB.LanguageUtils.LibraryStrings.please_wait}`, {timeout: 0, ellipsis: true}); for (let i = 0; i < messages.length; i++) BDFDB.TimeUtils.timeout(_ => { - BDFDB.LibraryModules.APIUtils.delete({ + BDFDB.LibraryModules.APIUtils.HTTP.del({ url: BDFDB.DiscordConstants.Endpoints.MENTIONS_MESSAGE_ID(messages[i].id), retries: 2, oldFormErrors: true diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 11ff6f6e82..b9dd23b32a 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -1798,7 +1798,7 @@ a.metadataDownload__6b32d { } .colorBrand__471df.focused__27621 .check__8d1bd, .colorDefault__0b482.focused__27621 .check__8d1bd { - color: rgb(var(--accentcolor_v)); + fill: rgb(var(--accentcolor_v)); } .colorPremium__548bd:not(.focused__27621):not(:active) { /* contextmenu premium */ @@ -1815,7 +1815,7 @@ a.metadataDownload__6b32d { color: rgb(var(--accentcolor2_v)); } .colorPremium__548bd.focused__27621 .check__8d1bd { - color: rgb(var(--accentcolor2_v)); + fill: rgb(var(--accentcolor2_v)); } .colorPremiumGradient__45b85:not(.focused__27621):not(:active) { @@ -1834,7 +1834,7 @@ a.metadataDownload__6b32d { color: rgb(var(--accentcolor_v)); } .colorPremiumGradient__45b85.focused__27621 .check__8d1bd { - color: rgb(var(--accentcolor_v)); + fill: rgb(var(--accentcolor_v)); } .colorDanger_eec36d:not(.focused__27621):not(:active) { /* contextmenu danger */ @@ -1851,7 +1851,7 @@ a.metadataDownload__6b32d { color: var(--status-danger); } .colorDanger_eec36d.focused__27621 .check__8d1bd { - color: var(--status-danger); + fill: var(--status-danger); } .colorSuccess__6b952:not(.focused__27621):not(:active) { /* contextmenu success */ @@ -1868,7 +1868,7 @@ a.metadataDownload__6b32d { color: var(--status-success); } .colorSuccess__6b952.focused__27621 .check__8d1bd { - color: var(--status-success); + fill: var(--status-success); } .colorDefault__0b482[id="account-status-picker--online"].focused__27621,