diff --git a/src/browser/application.es6 b/src/browser/application.es6 index f74f04d7e..01837015a 100644 --- a/src/browser/application.es6 +++ b/src/browser/application.es6 @@ -189,13 +189,13 @@ export default class Application extends EventEmitter { app.commandLine.appendSwitch('js-flags', '--harmony'); } - openWindowsForTokenState(loadingMessage) { + openWindowsForTokenState() { const accounts = this.config.get('nylas.accounts'); const hasAccount = accounts && accounts.length > 0; const hasN1ID = this.config.get('nylas.identity.id'); if (hasAccount && hasN1ID) { - this.windowManager.ensureWindow(WindowManager.MAIN_WINDOW, {loadingMessage}); + this.windowManager.ensureWindow(WindowManager.MAIN_WINDOW); this.windowManager.ensureWindow(WindowManager.WORK_WINDOW); } else { this.windowManager.ensureWindow(WindowManager.ONBOARDING_WINDOW, { @@ -261,7 +261,7 @@ export default class Application extends EventEmitter { this.windowManager.destroyAllWindows(); this._deleteDatabase(() => { this.setDatabasePhase('setup'); - this.openWindowsForTokenState("Please wait while we prepare new features."); + this.openWindowsForTokenState(); }); }, 0); } diff --git a/static/index.html b/static/index.html index a76eb6629..1aa920b0a 100644 --- a/static/index.html +++ b/static/index.html @@ -16,12 +16,6 @@ background: #F6F6F6; text-align: center; } - #application-loading-text-supplement { - text-align: center; - margin-top: 1em; - font-size: 18px; - line-height: 1.4; - } @@ -31,7 +25,6 @@

-
diff --git a/static/index.js b/static/index.js index 0fab70a94..06b1ee852 100644 --- a/static/index.js +++ b/static/index.js @@ -93,10 +93,6 @@ window.onload = function() { throw error; } - if (loadSettings.loadingMessage) { - document.getElementById("application-loading-text-supplement").innerHTML = loadSettings.loadingMessage - } - // Normalize to make sure drive letter case is consistent on Windows process.resourcesPath = path.normalize(process.resourcesPath);