From c2f61389f1091dbdd05eb70668ffd698f74aa952 Mon Sep 17 00:00:00 2001 From: Ionite Date: Mon, 13 Nov 2023 01:51:45 -0500 Subject: [PATCH] Set profile image null when sign out --- .../ViewModels/Settings/AccountSettingsViewModel.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs index 8dc8e196..b48bf9d1 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/AccountSettingsViewModel.cs @@ -58,6 +58,10 @@ public partial class AccountSettingsViewModel : PageViewModelBase LykosProfileImageUrl = $"https://gravatar.com/avatar/{hash}?s=512&d=retro"; } + else + { + LykosProfileImageUrl = null; + } } public AccountSettingsViewModel(