Implement some CustomDebugStringConvertible
- AppFeature - AppProduct - ProviderID
This commit is contained in:
parent
fb0a9262c0
commit
1dfb013115
|
@ -53,8 +53,8 @@ extension AppFeature: Identifiable {
|
|||
}
|
||||
}
|
||||
|
||||
extension AppFeature: CustomStringConvertible {
|
||||
public var description: String {
|
||||
extension AppFeature: CustomDebugStringConvertible {
|
||||
public var debugDescription: String {
|
||||
rawValue
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,8 +55,8 @@ extension AppProduct {
|
|||
}
|
||||
}
|
||||
|
||||
extension AppProduct: CustomStringConvertible {
|
||||
public var description: String {
|
||||
extension AppProduct: CustomDebugStringConvertible {
|
||||
public var debugDescription: String {
|
||||
rawValue
|
||||
}
|
||||
}
|
||||
|
|
|
@ -144,6 +144,12 @@ extension OnDemandModule.Policy: LocalizableEntity {
|
|||
}
|
||||
}
|
||||
|
||||
extension ProviderID: CustomDebugStringConvertible {
|
||||
public var debugDescription: String {
|
||||
rawValue
|
||||
}
|
||||
}
|
||||
|
||||
extension VPNServer {
|
||||
public var region: String {
|
||||
[provider.countryCode.localizedAsRegionCode, provider.area]
|
||||
|
|
Loading…
Reference in New Issue