Ensure containers show up in the menu when they are created

This commit is contained in:
TheXamlGuy
2024-05-12 17:09:59 +01:00
parent 0ae3f60334
commit 975d5e6894
32 changed files with 211 additions and 174 deletions
+2 -2
View File
@@ -20,9 +20,9 @@ public partial class OpenContainerViewModel(IServiceProvider provider,
{
if (Password is { Length: > 0 })
{
if (await Mediator.Handle<Open<Vault>, bool>(Open.As(new Vault(Password))))
if (await Mediator.Handle<Open<Container>, bool>(Open.As(new Container(Password))))
{
await Publisher.Publish(Vault.As<Opened>());
await Publisher.Publish(Container.As<Opened>());
}
}
}