fix: func param order
This commit is contained in:
@@ -90,7 +90,7 @@ const startApplication: StartApplication = async function startApplication(
|
||||
defaultSyncServerHost: string,
|
||||
bridge: Bridge,
|
||||
enableUnfinishedFeatures: boolean,
|
||||
webSocketUrl: string,
|
||||
webSocketUrl: string
|
||||
) {
|
||||
if (reloadHiddenFirefoxTab()) {
|
||||
return;
|
||||
@@ -193,10 +193,10 @@ const startApplication: StartApplication = async function startApplication(
|
||||
|
||||
if (IsWebPlatform) {
|
||||
startApplication(
|
||||
(window as any)._default_sync_server,
|
||||
(window as any)._default_sync_server as string,
|
||||
new BrowserBridge(AppVersion),
|
||||
(window as any)._websocket_url,
|
||||
(window as any)._enable_unfinished_features,
|
||||
(window as any)._enable_unfinished_features as boolean,
|
||||
(window as any)._websocket_url as string,
|
||||
);
|
||||
} else {
|
||||
(window as any).startApplication = startApplication;
|
||||
|
||||
Reference in New Issue
Block a user