diff --git a/src/Ryujinx/UI/Views/Settings/SettingsInputView.axaml.cs b/src/Ryujinx/UI/Views/Settings/SettingsInputView.axaml.cs
index 55b69af06..fc88e322a 100644
--- a/src/Ryujinx/UI/Views/Settings/SettingsInputView.axaml.cs
+++ b/src/Ryujinx/UI/Views/Settings/SettingsInputView.axaml.cs
@@ -1,11 +1,15 @@
using Avalonia.Controls;
+using Ryujinx.Ava.UI.ViewModels;
namespace Ryujinx.Ava.UI.Views.Settings
{
public partial class SettingsInputView : UserControl
{
- public SettingsInputView()
+ public SettingsViewModel ViewModel;
+
+ public SettingsInputView(SettingsViewModel viewModel)
{
+ ViewModel = viewModel;
InitializeComponent();
}
diff --git a/src/Ryujinx/UI/Views/Settings/SettingsSystemView.axaml.cs b/src/Ryujinx/UI/Views/Settings/SettingsSystemView.axaml.cs
index 2c9eac28c..281d24916 100644
--- a/src/Ryujinx/UI/Views/Settings/SettingsSystemView.axaml.cs
+++ b/src/Ryujinx/UI/Views/Settings/SettingsSystemView.axaml.cs
@@ -8,8 +8,9 @@ namespace Ryujinx.Ava.UI.Views.Settings
{
public SettingsViewModel ViewModel;
- public SettingsSystemView()
+ public SettingsSystemView(SettingsViewModel viewModel)
{
+ ViewModel = viewModel;
InitializeComponent();
}
diff --git a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs
index 996d15cdb..96e14afc5 100644
--- a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs
+++ b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs
@@ -2,7 +2,6 @@ using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Platform.Storage;
using Avalonia.VisualTree;
-using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.UI.ViewModels;
using System.Collections.Generic;
using System.IO;
@@ -14,8 +13,9 @@ namespace Ryujinx.Ava.UI.Views.Settings
{
public SettingsViewModel ViewModel;
- public SettingsUiView()
+ public SettingsUiView(SettingsViewModel viewModel)
{
+ ViewModel = viewModel;
InitializeComponent();
}
diff --git a/src/Ryujinx/UI/Windows/SettingsWindow.axaml b/src/Ryujinx/UI/Windows/SettingsWindow.axaml
index ff6a4065c..b5f024295 100644
--- a/src/Ryujinx/UI/Windows/SettingsWindow.axaml
+++ b/src/Ryujinx/UI/Windows/SettingsWindow.axaml
@@ -8,7 +8,6 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:window="clr-namespace:Ryujinx.Ava.UI.Windows"
xmlns:viewModels="clr-namespace:Ryujinx.Ava.UI.ViewModels"
- xmlns:settings="clr-namespace:Ryujinx.Ava.UI.Views.Settings"
xmlns:helpers="clr-namespace:Ryujinx.Ava.UI.Helpers"
Width="1100"
Height="768"
@@ -32,17 +31,6 @@
Grid.Row="1"
IsVisible="False"
KeyboardNavigation.IsTabStop="False"/>
-
-
-
-
-
-
-
-
-
-
-