StatusItemController: Show animation when deactivating

This commit is contained in:
Jason A. Donenfeld 2019-02-07 18:19:15 +01:00
parent 2d761b4a00
commit 364fcd4dbe
1 changed files with 1 additions and 3 deletions

View File

@ -39,10 +39,8 @@ class StatusItemController {
case .active:
stopActivatingAnimation()
statusItem.button?.image = statusBarImageWhenActive
case .activating, .waiting, .reasserting, .restarting:
case .activating, .waiting, .reasserting, .restarting, .deactivating:
startActivatingAnimation()
case .deactivating:
break
}
}