Disable selection animation for now

This commit is contained in:
TheXamlGuy
2024-06-24 20:07:27 +01:00
parent 3f860eb537
commit fced830422
11 changed files with 56 additions and 21 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ public class WalletActivatedHandler(IWalletHostCollection Wallets,
{
public Task Handle(ActivatedEventArgs<Wallet<IComponentHost>> args)
{
if (args.Sender is Wallet<IComponentHost> wallet && wallet.Sender is IComponentHost host)
if (args.Sender is Wallet<IComponentHost> wallet && wallet.Value is IComponentHost host)
{
List<IComponentHost> sortedWallets = [.. Wallets, host];
sortedWallets = [.. sortedWallets.OrderBy(x => x.Services.GetRequiredService<IConfigurationDescriptor<WalletConfiguration>>() is