remove unused flags
MODIFY
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
WalletWasabi.Fluent/ViewModels/MainViewModel.cs
@@ -26,8 +26,6 @@ public partial class MainViewModel : ViewModelBase
private readonly SettingsPageViewModel _settingsPage;
private readonly PrivacyModeViewModel _privacyMode;
private readonly AddWalletPageViewModel _addWalletPage;
- [AutoNotify] private bool _isDialogScreenEnabled;
- [AutoNotify] private bool _isFullScreenEnabled;
[AutoNotify] private DialogScreenViewModel _dialogScreen;
[AutoNotify] private DialogScreenViewModel _fullScreen;
[AutoNotify] private DialogScreenViewModel _compactDialogScreen;
@@ -43,18 +41,11 @@ public partial class MainViewModel : ViewModelBase
ApplyUiConfigWindowSate();
_dialogScreen = new DialogScreenViewModel();
-
_fullScreen = new DialogScreenViewModel(NavigationTarget.FullScreen);
-
_compactDialogScreen = new DialogScreenViewModel(NavigationTarget.CompactDialogScreen);
-
MainScreen = new TargettedNavigationStack(NavigationTarget.HomeScreen);
-
NavigationState.Register(MainScreen, DialogScreen, FullScreen, CompactDialogScreen);
- _isDialogScreenEnabled = true;
- _isFullScreenEnabled = true;
-
_statusIcon = new StatusIconViewModel();
UiServices.Initialize();

MODIFY
WalletWasabi.Fluent/Views/Shell/DialogsView.axaml
WalletWasabi.Fluent/Views/Shell/DialogsView.axaml
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
- IsEnabled="{Binding $parent.DataContext.IsFullScreenEnabled}"
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
IncreasedWidthThreshold="740" IncreasedHeightThreshold="580" FullScreenHeightThreshold="580">
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
- IsEnabled="{Binding $parent.DataContext.IsDialogScreenEnabled}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
MaxContentWidth="800" MaxContentHeight="700"
IsCancelEnabled="{Binding CurrentPage.EnableCancel, FallbackValue=False}"
EnableCancelOnPressed="{Binding CurrentPage.EnableCancelOnPressed, FallbackValue=True}"
EnableCancelOnEscape="{Binding CurrentPage.EnableCancelOnEscape, FallbackValue=True}"
- IsEnabled="{Binding $parent.DataContext.IsDialogScreenEnabled}"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<ContentControl Content="{Binding CurrentPage}" />
</c:Dialog>

remove unused flags