mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-31 11:43:32 -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;
|
if (proto == null || typeof proto === "string") return;
|
||||||
|
|
||||||
// @ts-ignore
|
// @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) {
|
if (premiumType !== 2) {
|
||||||
proto.appearance ??= AppearanceSettingsActionCreators.create();
|
proto.appearance ??= AppearanceSettingsActionCreators.create();
|
||||||
|
|
Loading…
Reference in a new issue