Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/BeyondDimension/SteamTools
Browse files Browse the repository at this point in the history
… into develop
  • Loading branch information
yingpanwang committed Feb 12, 2025
2 parents 0f28de1 + ad11654 commit 9504413
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private async void SteamLoginAsync()
{
IsLoading = true;

if (SteamLoginState.SteamId == 0)
if (!Requires2FA && !RequiresEmailAuth)
{
SteamLoginState.Username = UserNameText;
SteamLoginState.Password = PasswordText;
Expand Down Expand Up @@ -65,9 +65,10 @@ private async void SteamLoginAsync()
}
else if (SteamLoginState.Message != null)
{
IsLoading = false;
Toast.Show(ToastIcon.Warning, SteamLoginState.Message);
}

IsLoading = false;
}
}
catch (Exception ex)
Expand Down

0 comments on commit 9504413

Please sign in to comment.