fix(lib/discord/ui/settings): correct isSettingsModulesLoaded status
This commit is contained in:
parent
930f8221c0
commit
3bca2c4691
2 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ export const _data = [
|
|||
{},
|
||||
// SETTING_RENDERER_CONFIG settings
|
||||
{},
|
||||
true,
|
||||
false,
|
||||
] as [sections: Record<string, SettingsSection>, config: Record<string, SettingsItem>, loaded: boolean]
|
||||
|
||||
export const _subs = new Set<SettingsModulesLoadedSubscription>()
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ registerPlugin(
|
|||
for (const sub of _subs) sub()
|
||||
// We don't ever need to call this again
|
||||
_subs.clear()
|
||||
_data[2] = true
|
||||
|
||||
let ORIGINAL_RENDERER_CONFIG = SettingRendererConfig.SETTING_RENDERER_CONFIG
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue