Update PluginRepo.plugin.js

This commit is contained in:
Mirco Wittrien 2024-11-18 19:56:29 +01:00
parent 5ece7e0795
commit 66b9fe1335
1 changed files with 66 additions and 61 deletions

View File

@ -2,7 +2,7 @@
* @name PluginRepo
* @author DevilBro
* @authorId 278543574059057154
* @version 2.5.8
* @version 2.5.9
* @description Allows you to download all Plugins from BD's Website within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -368,13 +368,18 @@ module.exports = (_ => {
size: BDFDB.LibraryComponents.ModalComponents.ModalSize.DYNAMIC,
"aria-label": BDFDB.LanguageUtils.LanguageStrings.IMAGE,
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ImageModal, {
items: [{
animated: false,
src: url,
original: url,
width: this.width,
height: this.height,
original: url,
srcIsAnimated: false,
trigger: "CLICK",
type: "IMAGE",
url: url,
width: this.width,
zoomThumbnailPlaceholder: url
}],
className: BDFDB.disCN.imagemodalimage,
shouldAnimate: true,
renderForwardComponent: _ => {},
renderLinkComponent: props => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, props)
})