parent
8e5a3a49fa
commit
e19954e984
|
@ -2,7 +2,7 @@
|
||||||
* @name BDFDB
|
* @name BDFDB
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 2.7.5
|
* @version 2.7.4
|
||||||
* @description Required Library for DevilBro's Plugins
|
* @description Required Library for DevilBro's Plugins
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -26,7 +26,7 @@ module.exports = (_ => {
|
||||||
started: true,
|
started: true,
|
||||||
changeLog: {
|
changeLog: {
|
||||||
fixed: {
|
fixed: {
|
||||||
"Menu Slider": "Fixed Issue where Sliders in Context Menus would get stuck"
|
"Library fully funcational again": "I will slowly begin releasing updates for all my Plugins, you can find a list of which Plugins are fixed on my Support Server"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -873,7 +873,7 @@ module.exports = (_ => {
|
||||||
name: BDFDB.LanguageUtils.LibraryStringsFormat("send", "Solana"),
|
name: BDFDB.LanguageUtils.LibraryStringsFormat("send", "Solana"),
|
||||||
icon: "PHANTOM",
|
icon: "PHANTOM",
|
||||||
onClick: _ => {
|
onClick: _ => {
|
||||||
BDFDB.LibraryModules.WindowUtils.copy(InternalData.mySolana);
|
BDFDB.LibraryRequires.electron.clipboard.write({text: InternalData.mySolana});
|
||||||
BDFDB.NotificationUtils.toast(BDFDB.LanguageUtils.LibraryStringsFormat("clipboard_success", "Phantom Wallet Key"), {
|
BDFDB.NotificationUtils.toast(BDFDB.LanguageUtils.LibraryStringsFormat("clipboard_success", "Phantom Wallet Key"), {
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
|
@ -882,7 +882,7 @@ module.exports = (_ => {
|
||||||
name: BDFDB.LanguageUtils.LibraryStringsFormat("send", "Ethereum"),
|
name: BDFDB.LanguageUtils.LibraryStringsFormat("send", "Ethereum"),
|
||||||
icon: "METAMASK",
|
icon: "METAMASK",
|
||||||
onClick: _ => {
|
onClick: _ => {
|
||||||
BDFDB.LibraryModules.WindowUtils.copy(InternalData.myEthereum);
|
BDFDB.LibraryRequires.electron.clipboard.write({text: InternalData.myEthereum});
|
||||||
BDFDB.NotificationUtils.toast(BDFDB.LanguageUtils.LibraryStringsFormat("clipboard_success", "MetaMask Wallet Key"), {
|
BDFDB.NotificationUtils.toast(BDFDB.LanguageUtils.LibraryStringsFormat("clipboard_success", "MetaMask Wallet Key"), {
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
|
@ -8039,6 +8039,7 @@ module.exports = (_ => {
|
||||||
],
|
],
|
||||||
after: [
|
after: [
|
||||||
"DiscordTag",
|
"DiscordTag",
|
||||||
|
"Menu",
|
||||||
"UseCopyIdItem",
|
"UseCopyIdItem",
|
||||||
"UserPopoutAvatar",
|
"UserPopoutAvatar",
|
||||||
"UserThemedPopoutHeader"
|
"UserThemedPopoutHeader"
|
||||||
|
@ -8247,6 +8248,9 @@ module.exports = (_ => {
|
||||||
Internal.processMemberListItem = function (e) {
|
Internal.processMemberListItem = function (e) {
|
||||||
Internal._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper), e.node);
|
Internal._processAvatarMount(e.instance.props.user, e.node.querySelector(BDFDB.dotCN.avatarwrapper), e.node);
|
||||||
};
|
};
|
||||||
|
Internal.processMenu = function (e) {
|
||||||
|
if (!e.instance.props.children || BDFDB.ArrayUtils.is(e.instance.props.children) && !e.instance.props.children.length) Internal.LibraryModules.ContextMenuUtils.closeContextMenu();
|
||||||
|
};
|
||||||
Internal.processMessageHeader = function (e) {
|
Internal.processMessageHeader = function (e) {
|
||||||
if (e.instance.props.message && e.instance.props.message.author) {
|
if (e.instance.props.message && e.instance.props.message.author) {
|
||||||
if (e.instance.props.avatar && e.instance.props.avatar.props && typeof e.instance.props.avatar.props.children == "function") {
|
if (e.instance.props.avatar && e.instance.props.avatar.props && typeof e.instance.props.avatar.props.children == "function") {
|
||||||
|
@ -8529,7 +8533,7 @@ module.exports = (_ => {
|
||||||
BDFDB.NotificationUtils.toast("Translation copied to clipboard", {
|
BDFDB.NotificationUtils.toast("Translation copied to clipboard", {
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
BDFDB.LibraryModules.WindowUtils.copy(result);
|
Internal.LibraryRequires.electron.clipboard.write({text: result});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const callback = translation => {
|
const callback = translation => {
|
||||||
|
|
Loading…
Reference in New Issue