Ensure new wallets show up in the menu

This commit is contained in:
TheXamlGuy
2024-06-10 22:47:04 +01:00
parent 6c210a2236
commit 14ab366d67
6 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ public class OpenWalletHandler(IConfigurationDescriptor<WalletConfiguration> des
{
if (args.Sender is Wallet<string> Wallet &&
descriptor.Name is { Length: > 0 } name &&
Wallet.Value is { Length: > 0 } password)
Wallet.Sender is { Length: > 0 } password)
{
WalletConfiguration configuration = descriptor.Value;
if (configuration.Key?.Split(':') is { Length: >= 2 } keyPart)