add mini dialog to navigation state
MODIFY
WalletWasabi.Fluent/ViewModels/Navigation/NavigationState.cs
WalletWasabi.Fluent/ViewModels/Navigation/NavigationState.cs
@@ -5,11 +5,13 @@ namespace WalletWasabi.Fluent.ViewModels.Navigation
private NavigationState(
INavigationStack<RoutableViewModel> homeScreenNavigation,
INavigationStack<RoutableViewModel> dialogScreenNavigation,
- INavigationStack<RoutableViewModel> fullScreenNavigation)
+ INavigationStack<RoutableViewModel> fullScreenNavigation,
+ INavigationStack<RoutableViewModel> miniDialogScreenNavigation)
{
HomeScreenNavigation = homeScreenNavigation;
DialogScreenNavigation = dialogScreenNavigation;
FullScreenNavigation = fullScreenNavigation;
+ MiniDialogScreenNavigation = miniDialogScreenNavigation;
}
public static NavigationState Instance { get; private set; } = null!;
@@ -20,15 +22,19 @@ namespace WalletWasabi.Fluent.ViewModels.Navigation
public INavigationStack<RoutableViewModel> FullScreenNavigation { get; }
+ public INavigationStack<RoutableViewModel> MiniDialogScreenNavigation { get; }
+
public static void Register(
INavigationStack<RoutableViewModel> homeScreenNavigation,
INavigationStack<RoutableViewModel> dialogScreenNavigation,
- INavigationStack<RoutableViewModel> fullScreenNavigation)
+ INavigationStack<RoutableViewModel> fullScreenNavigation,
+ INavigationStack<RoutableViewModel> miniDialogScreenNavigation)
{
Instance = new NavigationState(
homeScreenNavigation,
dialogScreenNavigation,
- fullScreenNavigation);
+ fullScreenNavigation,
+ miniDialogScreenNavigation);
}
}
}

add mini dialog to navigation state