mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-27 18:37:53 +08:00
🎨(loading): Remove supplement text
This commit is contained in:
parent
9661430268
commit
4ea106db3e
3 changed files with 3 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue