StatusItemController: Show animation when deactivating
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user