Skip to content

Commit 9504413

Browse files
committed
Merge branch 'develop' of https://github.com/BeyondDimension/SteamTools into develop
2 parents 0f28de1 + ad11654 commit 9504413

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/BD.WTTS.Client.Plugins.SteamIdleCard/UI/ViewModels/IdleSteamLoginPageViewModel.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private async void SteamLoginAsync()
2626
{
2727
IsLoading = true;
2828

29-
if (SteamLoginState.SteamId == 0)
29+
if (!Requires2FA && !RequiresEmailAuth)
3030
{
3131
SteamLoginState.Username = UserNameText;
3232
SteamLoginState.Password = PasswordText;
@@ -65,9 +65,10 @@ private async void SteamLoginAsync()
6565
}
6666
else if (SteamLoginState.Message != null)
6767
{
68-
IsLoading = false;
6968
Toast.Show(ToastIcon.Warning, SteamLoginState.Message);
7069
}
70+
71+
IsLoading = false;
7172
}
7273
}
7374
catch (Exception ex)

0 commit comments

Comments
 (0)