Fixed issues with loading the app from cold when deep linking (#3201)
* Fixed issues with loading the app from cold when deep linking * Don't call show() before the window is created on Windows
This commit is contained in:
@@ -92,9 +92,11 @@ export class ViewManager {
|
||||
}
|
||||
|
||||
private init = () => {
|
||||
LoadingScreen.show();
|
||||
ServerManager.getAllServers().forEach((server) => this.loadServer(server));
|
||||
this.showInitial();
|
||||
if (ServerManager.hasServers()) {
|
||||
LoadingScreen.show();
|
||||
ServerManager.getAllServers().forEach((server) => this.loadServer(server));
|
||||
this.showInitial();
|
||||
}
|
||||
};
|
||||
|
||||
private handleDeveloperModeUpdated = (json: DeveloperSettings) => {
|
||||
|
Reference in New Issue
Block a user