This commit is contained in:
thororen1234 2024-07-18 00:53:55 -04:00
parent 7809f5b67c
commit 3c4d217312
108 changed files with 7134 additions and 38 deletions

View file

@ -1,11 +0,0 @@
# Super Reaction Tweaks
This plugin applies configurable various tweaks to super reactions.
![Screenshot](https://user-images.githubusercontent.com/22851444/281598795-58f07116-9f95-4f64-940b-23a5499f2302.png)
## Features:
**Super React By Default** - The reaction picker will default to super reactions instead of normal reactions.
**Super Reaction Play Limit** - Allows you to decide how many super reaction animations can play at once, including removing the limit entirely.

View file

@ -63,6 +63,7 @@ export default definePlugin({
},
get shouldSuperReactByDefault() {
return settings.store.superReactByDefault && UserStore.getCurrentUser().premiumType != null;
// @ts-ignore
return settings.store.superReactByDefault && (UserStore.getCurrentUser()?._realPremiumType ?? UserStore.getCurrentUser().premiumType != null);
}
});