Skip to content

Commit 3e5e72e

Browse files
committed
Use SVG for monero logo instead of inline data
1 parent cfe9f46 commit 3e5e72e

4 files changed

Lines changed: 44 additions & 14 deletions

File tree

Plugins/Monero/BTCPayServer.Plugins.Monero.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,7 @@
5353
<ItemGroup>
5454
<ProjectReference Include="..\..\btcpayserver\BTCPayServer\BTCPayServer.csproj" />
5555
</ItemGroup>
56+
<ItemGroup>
57+
<EmbeddedResource Include="monero.svg" />
58+
</ItemGroup>
5659
</Project>

Plugins/Monero/MoneroImage.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

Plugins/Monero/MoneroPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public override void Execute(IServiceCollection services)
4444
"XMR_X = XMR_BTC * BTC_X",
4545
"XMR_BTC = kraken(XMR_BTC)"
4646
},
47-
CryptoImagePath = MoneroImages.Logo,
47+
CryptoImagePath = "monero.svg",
4848
UriScheme = "monero"
4949
};
5050
var blockExplorerLink = chainName == ChainName.Mainnet

Plugins/Monero/monero.svg

Lines changed: 40 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)