Skip to content

Commit 0c340fb

Browse files
committed
🐛 fix 1.23.10614.11145 #50
1 parent be06b2e commit 0c340fb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/BD.SteamClient.UnitTest/SteamServiceTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#if (WINDOWS || MACCATALYST || MACOS || LINUX) && !(IOS || ANDROID)
12
using System.IO;
23
using ValveKeyValue;
34

@@ -108,4 +109,5 @@ public TestSteamServiceImpl(ILoggerFactory loggerFactory) : base(loggerFactory)
108109

109110
protected override string? GetString(string name) => default;
110111
}
111-
}
112+
}
113+
#endif

src/BD.SteamClient/Services.Implementation/SteamAccountService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public SteamAccountService(
3232

3333
public SteamAccountService(
3434
IServiceProvider s,
35-
Func<CookieContainer, SocketsHttpHandler> func) : base(func, s.GetRequiredService<ILogger<SteamAccountService>>())
35+
Func<CookieContainer, HttpHandlerType> func) : base(func, s.GetRequiredService<ILogger<SteamAccountService>>())
3636
{
3737
uas = s.GetRequiredService<IRandomGetUserAgentService>();
3838
}

0 commit comments

Comments
 (0)