fix: _config to config access
This commit is contained in:
parent
307a7b62d9
commit
9b2a2e739e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export async function activate(context: ExtensionContext) {
|
|||
const enabler = commands.registerCommand('discord.enable', async () => {
|
||||
await rpc.dispose();
|
||||
await config.update('enabled', true);
|
||||
rpc._config = workspace.getConfiguration('discord');
|
||||
rpc.config = workspace.getConfiguration('discord');
|
||||
rpc.statusBarIcon.text = '$(pulse) Connecting...';
|
||||
rpc.statusBarIcon.show();
|
||||
await rpc.login();
|
||||
|
|
Loading…
Reference in a new issue