Always remove loading animation on Desktop app if can't login to server

This commit is contained in:
Debanjum Singh Solanky 2024-04-13 11:02:44 +05:30
parent 382507051f
commit b8bc6bee83

View file

@ -726,9 +726,9 @@
// If the server returns a 500 error with detail, render a setup hint. // If the server returns a 500 error with detail, render a setup hint.
if (!firstRunSetupMessageRendered) { if (!firstRunSetupMessageRendered) {
renderFirstRunSetupMessage(); renderFirstRunSetupMessage();
fadeOutLoadingAnimation(loadingScreen);
} }
return; fadeOutLoadingAnimation(loadingScreen);
return;
}); });
await refreshChatSessionsPanel(); await refreshChatSessionsPanel();