mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Possible Fix For Theme Reset
This commit is contained in:
parent
ea1ba0c883
commit
9a0acbd72d
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ export default definePlugin({
|
|||
if (proto == null || typeof proto === "string") return;
|
||||
|
||||
// @ts-ignore
|
||||
const premiumType: number = user?._realPremiumType ?? UserStore?.getCurrentUser?._realPremiumType ?? user?.premium_type ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
||||
const premiumType: number = user?._realPremiumType ?? user?.premium_type ?? UserStore?.getCurrentUser()?.premiumType ?? 0;
|
||||
|
||||
if (premiumType !== 2) {
|
||||
proto.appearance ??= AppearanceSettingsActionCreators.create();
|
||||
|
|
Loading…
Reference in a new issue