mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(window): don't show if initialized in background
Fixes https://github.com/nylas/N1/issues/2149
This commit is contained in:
parent
813440c6a1
commit
2eb590eb67
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export default class WindowLauncher {
|
|||
win.setLoadSettings(newLoadSettings);
|
||||
}
|
||||
|
||||
if (!opts.hidden) {
|
||||
if (!opts.hidden && !opts.initializeInBackground) {
|
||||
// NOTE: In the case of a cold window, this will show it once
|
||||
// loaded. If it's a hotWindow, since hotWindows have a
|
||||
// `hidden:true` flag, nothing will show. When `setLoadSettings`
|
||||
|
|
Loading…
Reference in a new issue