diff options
author | Emmanuel Hansen <emmausssss@gmail.com> | 2022-12-02 13:16:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-02 13:16:43 +0000 |
commit | d9053bbe3745846dd758561e24dd060d76b3ad9d (patch) | |
tree | 3f37cfc7b2b074205da6f2ec89b52e3508c34c11 /Ryujinx.Ava/Ui/Models/TempProfile.cs | |
parent | c25e8427aa40a4ae920496220fd1e1621eff178b (diff) |
Avalonia - Save Manager (#3476)1.1.413
* Add save manager to account selector
* add fallback to app metadata for titlename if app is not in gamelist
* Allow recovering lost accounts
Diffstat (limited to 'Ryujinx.Ava/Ui/Models/TempProfile.cs')
-rw-r--r-- | Ryujinx.Ava/Ui/Models/TempProfile.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Ryujinx.Ava/Ui/Models/TempProfile.cs b/Ryujinx.Ava/Ui/Models/TempProfile.cs index e943687a..4e6d3446 100644 --- a/Ryujinx.Ava/Ui/Models/TempProfile.cs +++ b/Ryujinx.Ava/Ui/Models/TempProfile.cs @@ -45,9 +45,12 @@ namespace Ryujinx.Ava.Ui.Models { _profile = profile; - Image = profile.Image; - Name = profile.Name; - UserId = profile.UserId; + if (_profile != null) + { + Image = profile.Image; + Name = profile.Name; + UserId = profile.UserId; + } } public TempProfile(){} |