Small cleanup

This commit is contained in:
Your Name 2024-12-22 23:42:10 -08:00
parent 9066cced26
commit 81bef43e80

View file

@ -1033,15 +1033,7 @@ namespace Ryujinx.Ava
_viewModel.WindowState = WindowState.FullScreen;
}
if (_viewModel.WindowState is WindowState.FullScreen)
{
_viewModel.ShowMenuAndStatusBar = false;
}
});
Dispatcher.UIThread.InvokeAsync(() =>
{
if (_viewModel.StartGamesWithoutUI)
if ((_viewModel.WindowState is WindowState.FullScreen) || _viewModel.StartGamesWithoutUI)
{
_viewModel.ShowMenuAndStatusBar = false;
}