Improve dashboard

This commit is contained in:
世界
2023-08-04 21:23:07 +08:00
parent 313721c7cf
commit b5e682021b
6 changed files with 21 additions and 22 deletions
@@ -1,4 +1,5 @@
import Foundation
import Libbox
import SwiftUI
public struct OutboundGroup: Codable {
@@ -20,13 +21,6 @@ public struct OutboundGroup: Codable {
public extension OutboundGroup {
var displayType: String {
switch type {
case "selector":
return "Selector"
case "urltest":
return "URLTest"
default:
return "Unknown"
}
LibboxProxyDisplayType(type)
}
}