diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 2ee1c44dc..718074e06 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -15,11 +15,11 @@ jobs: uses: actions/checkout@v3.5.2 - name: Run Qodana scan - uses: JetBrains/qodana-action@v2022.3.4 + uses: JetBrains/qodana-action@v2023.1.0 env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} - name: Report Qodana results to GitHub - uses: github/codeql-action/upload-sarif@v2.2.12 + uses: github/codeql-action/upload-sarif@v2.3.0 with: sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json diff --git a/ASF-ui b/ASF-ui index d71555d6a..114c390c9 160000 --- a/ASF-ui +++ b/ASF-ui @@ -1 +1 @@ -Subproject commit d71555d6a236d08aa6df99ccc5004ae39bffbf82 +Subproject commit 114c390c92a889b86cf560def28fb8f39bc4fe54 diff --git a/ArchiSteamFarm/Localization/Strings.pt-PT.resx b/ArchiSteamFarm/Localization/Strings.pt-PT.resx index c7ba1ada5..6895f61a5 100644 --- a/ArchiSteamFarm/Localization/Strings.pt-PT.resx +++ b/ArchiSteamFarm/Localization/Strings.pt-PT.resx @@ -190,7 +190,10 @@ StackTrace: Versão local: {0} | Versão remota: {1} {0} will be replaced by current version, {1} will be replaced by remote version - + + Por favor, verifique a aplicação móvel Steam, deve ter recebido uma notificação de aprovação de login. Digite Y se recebeu e aprovou a notificação, N se quiser fornecer o código: + Please note that this translation should end with space + Por favor, insere to teu código de autenticação de dois fatores (2FA) da tua app de autenticador da Steam: Please note that this translation should end with space diff --git a/ArchiSteamFarm/Steam/Bot.cs b/ArchiSteamFarm/Steam/Bot.cs index 189072971..ef0204fba 100644 --- a/ArchiSteamFarm/Steam/Bot.cs +++ b/ArchiSteamFarm/Steam/Bot.cs @@ -3195,7 +3195,11 @@ public sealed class Bot : IAsyncDisposable, IDisposable { await CheckOccupationStatus().ConfigureAwait(false); } - private void OnTradeCheckTimer(object? state = null) => Utilities.InBackground(Trading.OnNewTrade); + private void OnTradeCheckTimer(object? state = null) { + if (IsConnectedAndLoggedOn) { + Utilities.InBackground(Trading.OnNewTrade); + } + } private void OnUserNotifications(UserNotificationsCallback callback) { ArgumentNullException.ThrowIfNull(callback); diff --git a/Directory.Build.props b/Directory.Build.props index ca651ac31..b9be3e075 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 5.4.5.2 + 5.4.5.3 diff --git a/wiki b/wiki index c7bc1b960..9ab36fa49 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit c7bc1b9602ab612e6b59bbe650b89490518fc917 +Subproject commit 9ab36fa4932f53030bee985fe46af9ef694bf6e1