46c8129bf5
* Avalonia: Another Cleanup This PR is a cleanup to the avalonia code recently added: - Some XAML file are autoformatted like a previous PR. - Dlc is renamed to DownloadableContent (Locale exclude). - DownloadableContentManagerWindow is a bit improved (Fixes #3491). - Some nits here and there. * Fix GTK * Remove AttachDebugDevTools * Fix last warning * Fix JSON fields
22 lines
565 B
C#
22 lines
565 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using Ryujinx.Ava.Ui.Windows;
|
|
|
|
namespace Ryujinx.Ava.Ui.Controls
|
|
{
|
|
public partial class UpdateWaitWindow : StyleableWindow
|
|
{
|
|
public UpdateWaitWindow(string primaryText, string secondaryText) : this()
|
|
{
|
|
PrimaryText.Text = primaryText;
|
|
SecondaryText.Text = secondaryText;
|
|
WindowStartupLocation = WindowStartupLocation.CenterOwner;
|
|
}
|
|
|
|
public UpdateWaitWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
}
|
|
} |