Skip to content

Commit b27aa2a

Browse files
committed
always refresh
1 parent 3406f42 commit b27aa2a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

StabilityMatrix.Avalonia/ViewModels/Inference/PromptCardViewModel.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,9 @@ protected override Task OnInitialLoadedAsync()
230230
{
231231
try
232232
{
233+
await accountsService.RefreshLykosAsync();
233234
var isLoggedIn = await accountsService.HasStoredLykosAccountAsync();
234-
if (isLoggedIn)
235-
{
236-
await accountsService.RefreshLykosAsync();
237-
}
238-
else
235+
if (!isLoggedIn)
239236
{
240237
return;
241238
}

0 commit comments

Comments
 (0)