write thumbnail to wallet store

This commit is contained in:
TheXamlGuy
2024-06-29 19:39:34 +01:00
parent c1713b1372
commit 29e41d821f
14 changed files with 117 additions and 76 deletions
+18
View File
@@ -0,0 +1,18 @@
using Toolkit.Foundation;
namespace Wallet;
public class WalletHostFactory(IComponentFactory componentFactory) :
IWalletHostFactory
{
public IComponentHost? Create(string key)
{
if (componentFactory.Create<WalletComponent, WalletConfiguration>($"Wallet:{key}",
new WalletConfiguration()) is IComponentHost host)
{
return host;
}
return default;
}
}