Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Dec 8, 2023
1 parent 3e25d22 commit 39b2e4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion BTCPayServer.Vault/BTCPayServer.Vault.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.0.6" />
<PackageReference Include="Avalonia.Themes.Simple" Version="11.0.6" />
<PackageReference Include="BTCPayServer.NTag424.PCSC" Version="1.0.15" />
<PackageReference Include="BTCPayServer.NTag424.PCSC" Version="1.0.16" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>

Expand Down
11 changes: 0 additions & 11 deletions BTCPayServer.Vault/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public static class Extensions
{
public static void AddAvalonia<TApp>(this IServiceCollection services) where TApp : Application, new()
{
bool useGpuLinux = true;

var result = AppBuilder.Configure<TApp>();

if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
Expand All @@ -33,15 +31,6 @@ public static class Extensions
.UseWin32()
.UseSkia();
}
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
{
if (DetectLLVMPipeRasterizer())
{
useGpuLinux = false;
}

result.UsePlatformDetect();
}
else
{
result.UsePlatformDetect();
Expand Down

0 comments on commit 39b2e4e

Please sign in to comment.