diff options
author | Emmanuel Hansen <emmausssss@gmail.com> | 2022-07-24 17:38:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 14:38:38 -0300 |
commit | 6e02cac952f1a9a34d2777199dde657eba0784e6 (patch) | |
tree | bfdf6ebc5c5fb062910ffb2feaec56e1240c0596 /Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs | |
parent | 3a3380fa2578bf1731c6cd7cebdca7b7cc5681b0 (diff) |
Avalonia - Use content dialog for user profile manager (#3455)1.1.187
* 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/Controls/UserErrorDialog.cs')
-rw-r--r-- | Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs b/Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs index 1f8f68e3..0b2d2c11 100644 --- a/Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs +++ b/Ryujinx.Ava/Ui/Controls/UserErrorDialog.cs @@ -75,7 +75,7 @@ namespace Ryujinx.Ava.Ui.Controls string setupButtonLabel = isInSetupGuide ? LocaleManager.Instance["OpenSetupGuideMessage"] : ""; - var result = await ContentDialogHelper.CreateInfoDialog(owner, + var result = await ContentDialogHelper.CreateInfoDialog( string.Format(LocaleManager.Instance["DialogUserErrorDialogMessage"], errorCode, GetErrorTitle(error)), GetErrorDescription(error) + (isInSetupGuide ? LocaleManager.Instance["DialogUserErrorDialogInfoMessage"] |