mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-02-24 07:25:10 +00:00
Merge branch 'dev' into feat/api/SettingsLists
This commit is contained in:
commit
e8be96284a
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ export class SettingsStore<T extends object> {
|
||||||
|
|
||||||
this.globalListeners.forEach(cb => cb(root, settingPathStr));
|
this.globalListeners.forEach(cb => cb(root, settingPathStr));
|
||||||
this.pathListeners.get(settingPathStr)?.forEach(cb => cb(settingValue));
|
this.pathListeners.get(settingPathStr)?.forEach(cb => cb(settingValue));
|
||||||
|
} else {
|
||||||
|
this.globalListeners.forEach(cb => cb(root, pathStr));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.pathListeners.get(pathStr)?.forEach(cb => cb(value));
|
this.pathListeners.get(pathStr)?.forEach(cb => cb(value));
|
||||||
|
|
Loading…
Add table
Reference in a new issue