diff --git a/src/ST.Client.Desktop.Windows/Services/Implementation/DnsAnalysisServiceImpl.cs b/src/ST.Client.Desktop.Windows/Services/Implementation/DnsAnalysisServiceImpl.cs index 174d77944d6..d2172c00347 100644 --- a/src/ST.Client.Desktop.Windows/Services/Implementation/DnsAnalysisServiceImpl.cs +++ b/src/ST.Client.Desktop.Windows/Services/Implementation/DnsAnalysisServiceImpl.cs @@ -1,5 +1,6 @@ using DnsClient; using DnsClient.Protocol; +using DynamicData; using Microsoft.Extensions.DependencyInjection.Extensions; using System.Application.Services; using System.Application.Services.Implementation; diff --git a/src/ST.Client.Desktop.Windows/Services/Implementation/SteamServiceImpl.cs b/src/ST.Client.Desktop.Windows/Services/Implementation/SteamServiceImpl.cs index 4e1e6d5bfd0..fe074d5fefa 100644 --- a/src/ST.Client.Desktop.Windows/Services/Implementation/SteamServiceImpl.cs +++ b/src/ST.Client.Desktop.Windows/Services/Implementation/SteamServiceImpl.cs @@ -558,7 +558,9 @@ List GetAppInfos_() uint num = binaryReader.ReadUInt32(); if (num is not MagicNumberV2 or MagicNumber) { - Log.Error(nameof(GetAppInfos), string.Format("\"{0}\" magic code is not supported: 0x{1:X8}", Path.GetFileName(AppInfoPath), num)); + var msg = string.Format("\"{0}\" magic code is not supported: 0x{1:X8}", Path.GetFileName(AppInfoPath), num); + Log.Error(nameof(GetAppInfos), msg); + Toast.Show(msg, ToastLength.Long); return apps; } SteamApp? app = new();