Merge pull request #17464 from atom/extended-color-profile-bits

Extend the color profile PR (#17380)
This commit is contained in:
David Wilson
2018-06-04 13:29:01 -07:00
parent fceb6b0063
commit ba9616506f

View File

@@ -173,7 +173,8 @@ class AtomApplication extends EventEmitter {
if (!this.configFilePromise) {
this.configFilePromise = this.configFile.watch()
this.disposable.add(await this.configFilePromise)
this.config.onDidChange('core.titleBar', this.promptForRestart.bind(this))
this.config.onDidChange('core.titleBar', () => this.promptForRestart())
this.config.onDidChange('core.colorProfile', () => this.promptForRestart())
}
const optionsForWindowsToOpen = []