Fix groups

This commit is contained in:
世界
2025-12-01 16:27:24 +08:00
parent 22de256d13
commit 30492c1191
10 changed files with 199 additions and 161 deletions
@@ -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
}
}
}