mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-17 18:37:04 -04:00
Fix crashes & settings on canary
This commit is contained in:
parent
c1593e1806
commit
098124175f
2 changed files with 12 additions and 1 deletions
|
@ -182,7 +182,7 @@ export default definePlugin({
|
|||
patchedSettings: new WeakSet(),
|
||||
|
||||
addSettings(elements: any[], element: { header?: string; settings: string[]; }, sectionTypes: SectionTypes) {
|
||||
if (this.patchedSettings.has(elements) || !this.isRightSpot(element)) return;
|
||||
if (this.patchedSettings.has(elements)) return;
|
||||
|
||||
this.patchedSettings.add(elements);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue