aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/Ui/Windows/StyleableWindow.cs
diff options
context:
space:
mode:
authorEmmanuel Hansen <emmausssss@gmail.com>2022-07-24 17:38:38 +0000
committerGitHub <noreply@github.com>2022-07-24 14:38:38 -0300
commit6e02cac952f1a9a34d2777199dde657eba0784e6 (patch)
treebfdf6ebc5c5fb062910ffb2feaec56e1240c0596 /Ryujinx.Ava/Ui/Windows/StyleableWindow.cs
parent3a3380fa2578bf1731c6cd7cebdca7b7cc5681b0 (diff)
Avalonia - Use content dialog for user profile manager (#3455)
* remove content dialog placeholder from all windows * remove redundant window argument * redesign user profile window * wip * use avalonia auto name generator * add edit and new user options * move profile image selection to content dialog * remove usings * fix updater * address review * adjust avatar dialog size * add validation for user editor * fix typo * Shorten some labels
Diffstat (limited to 'Ryujinx.Ava/Ui/Windows/StyleableWindow.cs')
-rw-r--r--Ryujinx.Ava/Ui/Windows/StyleableWindow.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/Ryujinx.Ava/Ui/Windows/StyleableWindow.cs b/Ryujinx.Ava/Ui/Windows/StyleableWindow.cs
index e268cac1..f427adc3 100644
--- a/Ryujinx.Ava/Ui/Windows/StyleableWindow.cs
+++ b/Ryujinx.Ava/Ui/Windows/StyleableWindow.cs
@@ -11,7 +11,6 @@ namespace Ryujinx.Ava.Ui.Windows
{
public class StyleableWindow : Window
{
- public ContentDialog ContentDialog { get; private set; }
public IBitmap IconImage { get; set; }
public StyleableWindow()
@@ -26,15 +25,9 @@ namespace Ryujinx.Ava.Ui.Windows
IconImage = new Bitmap(stream);
}
- public void LoadDialog()
- {
- ContentDialog = this.FindControl<ContentDialog>("ContentDialog");
- }
-
protected override void OnOpened(EventArgs e)
{
base.OnOpened(e);
- ContentDialog = this.FindControl<ContentDialog>("ContentDialog");
}
protected override void OnApplyTemplate(TemplateAppliedEventArgs e)