Skip to content

Commit cf036fc

Browse files
Filter issuers in shortlist
1 parent eaae2ca commit cf036fc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Services/XummService.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ public async Task<List<IssuerModel>> GetOrderedCurrenciesAsync(int storeId, stri
125125
var curatedAssets = await (await GetXummSdk(storeId)).Miscellaneous.GetCuratedAssetsAsync();
126126
foreach (var curatedAsset in curatedAssets.Details)
127127
{
128+
if (XummDefaults.ShowCuratedAssetsInShortlistOnly && curatedAsset.Value.Shortlist != 1)
129+
{
130+
continue;
131+
}
132+
128133
foreach (var currency in curatedAsset.Value.Currencies.Values)
129134
{
130135
if (XummDefaults.ShowCuratedAssetsInShortlistOnly && currency.Shortlist != 1)

src/XummPaymentMethod.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,6 @@ await _localizationService.AddOrUpdateLocaleResourceAsync(new Dictionary<string,
320320
1. You will need a Xumm Developer account. If you don't already have one, you can sign up here: <a href=""https://apps.xumm.dev/"" target=""_blank"">https://apps.xumm.dev/</a><br />
321321
2. Sign in to 'Xumm Developer Dashboard'. Go to 'Settings' tab, copy 'API Key', 'API Secret' and paste it into the same fields below.<br />
322322
3. Update the webhook with URL <em>{0}</em> on the 'Application details' section of 'Settings'.<br />
323-
4. The application will restart to apply the API Credentials and the other necessary settings will be visible on valid credentials.<br />
324323
</div>",
325324
["Plugins.Payments.Xumm.Section.XrplSettings.Instructions"] = @"
326325
<div style=""margin: 0 0 20px;"">

0 commit comments

Comments
 (0)