aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Ava/UI/Models/UserProfile.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Ava/UI/Models/UserProfile.cs')
-rw-r--r--src/Ryujinx.Ava/UI/Models/UserProfile.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Ryujinx.Ava/UI/Models/UserProfile.cs b/src/Ryujinx.Ava/UI/Models/UserProfile.cs
index e7cd5300..e1698b4d 100644
--- a/src/Ryujinx.Ava/UI/Models/UserProfile.cs
+++ b/src/Ryujinx.Ava/UI/Models/UserProfile.cs
@@ -1,3 +1,4 @@
+using Avalonia;
using Avalonia.Media;
using Ryujinx.Ava.UI.Controls;
using Ryujinx.Ava.UI.ViewModels;
@@ -87,7 +88,7 @@ namespace Ryujinx.Ava.UI.Models
private void UpdateBackground()
{
- Avalonia.Application.Current.Styles.TryGetResource("ControlFillColorSecondary", out object color);
+ Application.Current.Styles.TryGetResource("ControlFillColorSecondary", out object color);
if (color is not null)
{
@@ -100,4 +101,4 @@ namespace Ryujinx.Ava.UI.Models
_owner.Navigate(typeof(UserEditorView), (_owner, userProfile, true));
}
}
-} \ No newline at end of file
+}