diff --git a/Wallet/MainViewModel.cs b/Wallet/MainViewModel.cs index 9af620d..0104f94 100644 --- a/Wallet/MainViewModel.cs +++ b/Wallet/MainViewModel.cs @@ -29,6 +29,8 @@ public partial class MainViewModel : { if (args.Sender is WalletNavigationViewModel wallet) { + SelectedItem = null; + Reset(args => args.SetSource(wallet), false); SelectedItem = wallet; } diff --git a/Wallet/WalletNavigationViewModel.cs b/Wallet/WalletNavigationViewModel.cs index 50dbc78..cedbef4 100644 --- a/Wallet/WalletNavigationViewModel.cs +++ b/Wallet/WalletNavigationViewModel.cs @@ -59,6 +59,7 @@ public partial class WalletNavigationViewModel : Add("Categories", 0); IsOpened = true; + Publisher.Publish(Changed.As()); return Task.CompletedTask; }