Skip to content

Commit

Permalink
Revert change in previous commit that changed async methods to synchr…
Browse files Browse the repository at this point in the history
…onous methods.
  • Loading branch information
geel9 committed Feb 19, 2016
1 parent c1b5fdc commit 245b47d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Steam Desktop Authenticator/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -421,13 +421,13 @@ private async void timerTradesPopup_Tick(object sender, EventArgs e)
{
try
{
Confirmation[] tmp = currentAccount.FetchConfirmations();
Confirmation[] tmp = await currentAccount.FetchConfirmationsAsync();
confs.AddRange(tmp);
}
catch (SteamGuardAccount.WGTokenInvalidException)
{
lblStatus.Text = "Refreshing session";
currentAccount.RefreshSession(); //Don't save it to the HDD, of course. We'd need their encryption passkey again.
await currentAccount.RefreshSessionAsync(); //Don't save it to the HDD, of course. We'd need their encryption passkey again.
lblStatus.Text = "";
}
}
Expand Down

0 comments on commit 245b47d

Please sign in to comment.