mirror of
https://github.com/Equicord/Equicord.git
synced 2025-04-01 13:11:57 -04:00
Patch FIxes
Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com>
This commit is contained in:
parent
6d61c0144d
commit
5077b16cb0
2 changed files with 2 additions and 9 deletions
|
@ -51,7 +51,7 @@ export default definePlugin({
|
|||
// Guild Banner
|
||||
find: ".animatedBannerHoverLayer,onMouseEnter:",
|
||||
replacement: {
|
||||
match: /animate:\i(?=}\))/,
|
||||
match: /(?<=guildBanner:\i,animate:)\i(?=,isRefreshEnabled:)/,
|
||||
replace: "animate:!0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -261,14 +261,7 @@ export default definePlugin({
|
|||
replace: (m, props, nowPlaying) => `${m}$self.renderToggleGameActivityButton(${props},${nowPlaying}),`
|
||||
}
|
||||
},
|
||||
// Discord has 2 different components for activities. Currently, the last is the one being used
|
||||
{
|
||||
find: ".activityTitleText,variant",
|
||||
replacement: {
|
||||
match: /\.activityTitleText.+?children:(\i)\.name.*?}\),/,
|
||||
replace: (m, props) => `${m}$self.renderToggleActivityButton(${props}),`
|
||||
},
|
||||
},
|
||||
// Activities from the apps launcher in the bottom right of the chat bar
|
||||
{
|
||||
find: ".promotedLabelWrapperNonBanner,children",
|
||||
replacement: {
|
||||
|
|
Loading…
Add table
Reference in a new issue