mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
fix(picker): Invalid call to setState caused by unsub not working
This commit is contained in:
parent
c7e17fb2d2
commit
4b1255626f
1 changed files with 0 additions and 1 deletions
|
@ -77,7 +77,6 @@ class ThemeManager
|
||||||
# * `callback` {Function}
|
# * `callback` {Function}
|
||||||
onDidChangeActiveThemes: (callback) ->
|
onDidChangeActiveThemes: (callback) ->
|
||||||
@emitter.on 'did-change-active-themes', callback
|
@emitter.on 'did-change-active-themes', callback
|
||||||
@emitter.on 'did-reload-all', callback # TODO: Remove once deprecated pre-1.0 APIs are gone
|
|
||||||
|
|
||||||
onDidReloadAll: (callback) ->
|
onDidReloadAll: (callback) ->
|
||||||
Grim.deprecate("Use `::onDidChangeActiveThemes` instead.")
|
Grim.deprecate("Use `::onDidChangeActiveThemes` instead.")
|
||||||
|
|
Loading…
Reference in a new issue