Fix StatusPresets

This commit is contained in:
thororen1234 2024-12-28 21:22:29 -05:00
parent 7c5af82621
commit cc4266cbf2
2 changed files with 11 additions and 4 deletions

View file

@ -31,7 +31,7 @@ import { applyPalette, GIFEncoder, quantize } from "gifenc";
import type { ReactElement, ReactNode } from "react";
let premiumType;
if (Settings.plugins?.NoNitroUpsell?.enabled) {
if (Settings.plugins.NoNitroUpsell.enabled) {
// @ts-ignore
premiumType = UserStore?.getCurrentUser()?._realPremiumType ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
} else {