diff --git a/background.html b/background.html index bbe333b59..b3a2517b4 100644 --- a/background.html +++ b/background.html @@ -961,7 +961,7 @@ -
+ diff --git a/js/background.js b/js/background.js index 27018df5c..d72edc427 100644 --- a/js/background.js +++ b/js/background.js @@ -17,6 +17,7 @@ const { IdleDetector, MessageDataMigrator } = Signal.Workflow; const { Errors, Message } = window.Signal.Types; const { upgradeMessageSchema } = window.Signal.Migrations; + const { Views } = window.Signal; // Implicitly used in `indexeddb-backbonejs-adapter`: // https://github.com/signalapp/Signal-Desktop/blob/4033a9f8137e62ed286170ed5d4941982b1d3a64/components/indexeddb-backbonejs-adapter/backbone-indexeddb.js#L569 @@ -74,6 +75,8 @@ return accountManager; }; + const cancelInitializationMessage = Views.Initialization.setMessage(); + console.log('Start IndexedDB migrations'); storage.fetch(); @@ -163,6 +166,7 @@ connect(true); }); + cancelInitializationMessage(); var appView = window.owsDesktopApp.appView = new Whisper.AppView({el: $('body')}); Whisper.WallClockListener.init(Whisper.events);