Browse Source

Fix background instance activating

master
Eduard Kuzmenko 3 years ago
parent
commit
69394fe3ac
  1. 4
      src/lib/appManagers/appImManager.ts

4
src/lib/appManagers/appImManager.ts

@ -230,6 +230,10 @@ export class AppImManager { @@ -230,6 +230,10 @@ export class AppImManager {
stateStorage.setToCache('chatPositions', c || {});
});
// ! do not remove this line
// ! instance can be deactivated before the UI starts, because it waits in background for RAF that is delayed
singleInstance.activateInstance();
this.addAnchorListener<{}>({
name: 'showMaskedAlert',
callback: (params, element) => {

Loading…
Cancel
Save