StatusItemController: Show animation when deactivating

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-02-07 18:19:15 +01:00
parent 394a0cbeb0
commit 8676f3a663
1 changed files with 1 additions and 3 deletions

View File

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