EquicordHelper: Drop No Modal Animation

This commit is contained in:
thororen1234 2026-05-23 22:09:52 -04:00
parent 853f0fdedd
commit dedd51faf2
No known key found for this signature in database
2 changed files with 1 additions and 16 deletions

View file

@ -114,12 +114,6 @@ const settings = definePluginSettings({
restartNeeded: true,
default: false
},
noModalAnimation: {
type: OptionType.BOOLEAN,
description: "Remove the 300ms long animation when opening or closing modals",
restartNeeded: true,
default: false
},
disableAdoptTagPrompt: {
type: OptionType.BOOLEAN,
description: "Disable the prompt to adopt tags",
@ -261,15 +255,6 @@ export default definePlugin({
}
},
// Removes Modal Animation
{
find: 'backdropFilter:"blur(0px)"',
predicate: () => settings.store.noModalAnimation,
replacement: {
match: /\?0:200/,
replace: "?0:0",
}
},
// Removes Modal Animation
{
find: '="ABOVE"',
predicate: () => settings.store.noModalAnimation,

View file

@ -22,7 +22,7 @@ export default definePlugin({
{
find: ".tabBarRef",
replacement: {
match: /style:this\.getStyle\(\),role:"tab"/,
match: /style:this\.getStyle\(\),role:\i/,
replace: "$&,'data-tab-id':this?.props?.id"
}
},