diff --git a/BTCPayServer.Vault/BTCPayServer.Vault.csproj b/BTCPayServer.Vault/BTCPayServer.Vault.csproj index da41bd0..3bcb139 100644 --- a/BTCPayServer.Vault/BTCPayServer.Vault.csproj +++ b/BTCPayServer.Vault/BTCPayServer.Vault.csproj @@ -19,7 +19,7 @@ - + diff --git a/BTCPayServer.Vault/Extensions.cs b/BTCPayServer.Vault/Extensions.cs index 772bec5..589188a 100644 --- a/BTCPayServer.Vault/Extensions.cs +++ b/BTCPayServer.Vault/Extensions.cs @@ -23,8 +23,6 @@ namespace BTCPayServer.Vault { public static void AddAvalonia(this IServiceCollection services) where TApp : Application, new() { - bool useGpuLinux = true; - var result = AppBuilder.Configure(); if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) @@ -33,15 +31,6 @@ namespace BTCPayServer.Vault .UseWin32() .UseSkia(); } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - if (DetectLLVMPipeRasterizer()) - { - useGpuLinux = false; - } - - result.UsePlatformDetect(); - } else { result.UsePlatformDetect();