Add wallet profile image loading

This commit is contained in:
TheXamlGuy
2024-06-29 21:52:31 +01:00
parent a02b9e7825
commit bc33548842
12 changed files with 27 additions and 24 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace Toolkit.Foundation;
@@ -9,7 +10,7 @@ public class ComponentInitializer(IEnumerable<IComponent> components,
IServiceProvider provider) :
IInitialization
{
public async Task Initialize()
public void Initialize()
{
foreach (IComponent component in components)
{
@@ -45,7 +46,7 @@ public class ComponentInitializer(IEnumerable<IComponent> components,
provider.GetRequiredService<IServiceProvider>()));
hosts.Add(host);
await host.StartAsync();
host.Start();
}
}
}