macOS: show icon for inactive state
This commit is contained in:
parent
6b5b8f3c27
commit
150fd25569
|
@ -61,10 +61,10 @@ class TunnelListRow: NSView {
|
|||
switch status {
|
||||
case .active, .restarting, .reasserting:
|
||||
return NSImage(named: NSImage.statusAvailableName)
|
||||
case .activating, .waiting:
|
||||
case .activating, .waiting, .deactivating:
|
||||
return NSImage(named: NSImage.statusPartiallyAvailableName)
|
||||
case .deactivating, .inactive:
|
||||
return nil
|
||||
case .inactive:
|
||||
return NSImage(named: NSImage.statusNoneName)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue