1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-19 07:52:03 +00:00
This commit is contained in:
Isaac Marovitz 2024-04-19 17:32:21 -04:00
parent 47c491271a
commit 8ffe522f53
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
2 changed files with 3 additions and 20 deletions

View file

@ -43,7 +43,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Settings
SettingsLoggingViewModel loggingViewModel,
SettingsNetworkViewModel networkViewModel,
SettingsSystemViewModel systemViewModel,
SettingsUIViewModel uiViewModel) : this()
SettingsUIViewModel uiViewModel)
{
_audioViewModel = audioViewModel;
_cpuViewModel = cpuViewModel;
@ -66,14 +66,6 @@ namespace Ryujinx.Ava.UI.ViewModels.Settings
_uiViewModel.DirtyEvent += CheckIfModified;
}
public SettingsViewModel()
{
if (Program.PreviewerDetached)
{
}
}
public void CheckIfModified()
{
bool isDirty = false;

View file

@ -60,16 +60,7 @@ namespace Ryujinx.Ava.UI.Windows
Load();
}
public SettingsWindow()
{
ViewModel = new SettingsViewModel();
DataContext = ViewModel;
InitializeComponent();
Load();
}
public void UpdateDirtyTitle(bool isDirty)
private void UpdateDirtyTitle(bool isDirty)
{
if (!IsInitialized)
{
@ -88,7 +79,7 @@ namespace Ryujinx.Ava.UI.Windows
}
}
public void ToggleButtons(bool enable)
private void ToggleButtons(bool enable)
{
Buttons.IsEnabled = enable;
}