mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
💄
This commit is contained in:
@@ -71,7 +71,7 @@ class AutoUpdateManager
|
||||
atomWindow.sendCommand('window:update-available', [@releaseVersion, @releaseNotes])
|
||||
|
||||
setState: (state) ->
|
||||
return unless @state != state
|
||||
return if @state is state
|
||||
@state = state
|
||||
@emit 'state-changed', @state
|
||||
|
||||
|
||||
Reference in New Issue
Block a user