aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs')
-rw-r--r--src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs b/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
index 153ce95d..f4fcad31 100644
--- a/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
@@ -24,9 +24,9 @@ namespace Ryujinx.Ava.UI.Windows
InitializeComponent();
}
- public TitleUpdateWindow(VirtualFileSystem virtualFileSystem, ulong titleId, string titleName)
+ public TitleUpdateWindow(VirtualFileSystem virtualFileSystem, ulong titleId)
{
- DataContext = ViewModel = new TitleUpdateViewModel(virtualFileSystem, titleId, titleName);
+ DataContext = ViewModel = new TitleUpdateViewModel(virtualFileSystem, titleId);
InitializeComponent();
}
@@ -35,11 +35,11 @@ namespace Ryujinx.Ava.UI.Windows
{
ContentDialog contentDialog = new()
{
- PrimaryButtonText = "",
+ PrimaryButtonText = "",
SecondaryButtonText = "",
- CloseButtonText = "",
- Content = new TitleUpdateWindow(virtualFileSystem, titleId, titleName),
- Title = LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.GameUpdateWindowHeading, titleName, titleId.ToString("X16"))
+ CloseButtonText = "",
+ Content = new TitleUpdateWindow(virtualFileSystem, titleId),
+ Title = LocaleManager.Instance.UpdateAndGetDynamicValue(LocaleKeys.GameUpdateWindowHeading, titleName, titleId.ToString("X16")),
};
Style bottomBorder = new(x => x.OfType<Grid>().Name("DialogSpace").Child().OfType<Border>());
@@ -93,4 +93,4 @@ namespace Ryujinx.Ava.UI.Windows
ViewModel.SortUpdates();
}
}
-} \ No newline at end of file
+}