mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
updates
This commit is contained in:
parent
073f4136fb
commit
8a54732ecf
2 changed files with 3 additions and 2 deletions
|
@ -81,7 +81,7 @@ const buildCss = () => {
|
|||
width: 2px;
|
||||
}
|
||||
:is(${elements}) [id^='message-accessories'] > *:not(.vc-hide-message-accessory),
|
||||
:is(${elements}) [id^='message-content'] > * {
|
||||
:is(${elements}) [id^='message-content']:not([class^='repliedTextContent']) > * {
|
||||
display: none !important;
|
||||
}
|
||||
:is(${elements}) [id^='message-content']:empty {
|
||||
|
@ -130,6 +130,7 @@ export default definePlugin({
|
|||
name: "HideMessage",
|
||||
description: "Adds a context menu option to hide messages",
|
||||
authors: [EquicordDevs.Hanzy],
|
||||
dependencies: ["MessageAccessoriesAPI", "MessagePopoverAPI"],
|
||||
settings,
|
||||
|
||||
contextMenus: {
|
||||
|
|
|
@ -620,7 +620,7 @@ export default definePlugin({
|
|||
{
|
||||
find: ".removeMosaicItemHoverButton",
|
||||
replacement: {
|
||||
match: /(\i=(\i)=>{)(.{1,3550}isSingleMosaicItem)/,
|
||||
match: /(\i=(\i)=>{)(.{1,3600}isSingleMosaicItem)/,
|
||||
replace: "$1 let forceUpdate=Vencord.Util.useForceUpdater();$self.patchAttachments($2,forceUpdate);$3"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue