mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-23 23:15:10 +00:00
fix settings location fallback
This commit is contained in:
parent
610b09ccec
commit
ec2cb67e10
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ export default definePlugin({
|
||||||
aboveActivity: getIntlMessage("ACTIVITY_SETTINGS")
|
aboveActivity: getIntlMessage("ACTIVITY_SETTINGS")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (!names[settingsLocation] || names[settingsLocation].endsWith("_SETTINGS"))
|
||||||
|
return firstChild === "PREMIUM";
|
||||||
|
|
||||||
return header === names[settingsLocation];
|
return header === names[settingsLocation];
|
||||||
} catch {
|
} catch {
|
||||||
return firstChild === "PREMIUM";
|
return firstChild === "PREMIUM";
|
||||||
|
|
Loading…
Add table
Reference in a new issue