Load discord RPC asynchronously

This commit is contained in:
Dean Herbert 2019-12-18 14:07:32 +09:00
parent f53fd6e4bc
commit 0a3d339dd9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ protected override void LoadComplete()
Add(new SimpleUpdateManager()); Add(new SimpleUpdateManager());
} }
Add(new DiscordRichPresenceClient()); LoadComponentAsync(new DiscordRichPresence(), Add);
} }
protected override void ScreenChanged(IScreen lastScreen, IScreen newScreen) protected override void ScreenChanged(IScreen lastScreen, IScreen newScreen)