Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Removed ModManager.GetUserProfile reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Wood committed Aug 28, 2019
1 parent 8d5c11f commit 3c71af8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/UI/AuthenticatedUserViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ private IEnumerator FetchUserProfile()
WebRequestError error = null;
bool isDone = false;

ModManager.GetUserProfile(UserAuthenticationData.instance.userId,
(p) => { isDone = true; profile = p; },
(e) => { isDone = true; error = e; } );
ModManager.GetAuthenticatedUserProfile((p) => { isDone = true; profile = p; },
(e) => { isDone = true; error = e; } );

while(!isDone) { yield return null; }

Expand Down

0 comments on commit 3c71af8

Please sign in to comment.