Reorder navigation state properties
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -27,9 +27,9 @@ namespace WalletWasabi.Fluent.ViewModels
// TODO: Set default CancelView
_navigationState = new NavigationStateViewModel()
{
- DialogHost = () => this,
MainScreen = () => this,
- DialogScreen = () => _dialogScreen
+ DialogScreen = () => _dialogScreen,
+ DialogHost = () => this
};
Network = global.Network;

MODIFY
WalletWasabi.Fluent/ViewModels/NavigationStateViewModel.cs
WalletWasabi.Fluent/ViewModels/NavigationStateViewModel.cs
@@ -6,9 +6,9 @@ namespace WalletWasabi.Fluent.ViewModels
{
public class NavigationStateViewModel
{
- public Func<IDialogHost> DialogHost { get; set; }
public Func<IScreen> MainScreen { get; set; }
public Func<IScreen> DialogScreen { get; set; }
+ public Func<IDialogHost> DialogHost { get; set; }
public Func<IRoutableViewModel> CancelView { get; set; }
public Func<IRoutableViewModel> NextView { get; set; }
}

Reorder navigation state properties