diff --git a/System.Application.SteamTools.Client.Desktop/ServiceCollectionExtensions.cs b/System.Application.SteamTools.Client.Desktop/ServiceCollectionExtensions.cs
index fe775a07c..a05cbdf11 100644
--- a/System.Application.SteamTools.Client.Desktop/ServiceCollectionExtensions.cs
+++ b/System.Application.SteamTools.Client.Desktop/ServiceCollectionExtensions.cs
@@ -61,7 +61,7 @@ namespace Microsoft.Extensions.DependencyInjection
///
public static IServiceCollection AddConfigFileService(this IServiceCollection services)
{
- services.AddSingleton(new ConfigFileServiceImpl());
+ services.AddSingleton();
return services;
}
diff --git a/System.Application.SteamTools.Client.Desktop/Services/OperationResult.cs b/System.Application.SteamTools.Client.Desktop/Services/OperationResult.cs
index b62f533a8..77cfbe35d 100644
--- a/System.Application.SteamTools.Client.Desktop/Services/OperationResult.cs
+++ b/System.Application.SteamTools.Client.Desktop/Services/OperationResult.cs
@@ -118,7 +118,7 @@ namespace System.Application.Services
}
///
- public OperationResult(OperationResultType resultType, string message, T appendData) : base(resultType, message, appendData)
+ public OperationResult(OperationResultType resultType, string message, object? appendData) : base(resultType, message, appendData)
{
}