Fix groups
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import Library
|
||||
import SwiftUI
|
||||
|
||||
public extension OutboundGroupItem {
|
||||
var delayColor: Color {
|
||||
switch urlTestDelay {
|
||||
case 0:
|
||||
return .gray
|
||||
case ..<800:
|
||||
return .green
|
||||
case 800 ..< 1500:
|
||||
return .yellow
|
||||
default:
|
||||
return .orange
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user