Drop old Pool.name

This commit is contained in:
Davide De Rosa 2019-04-17 16:37:57 +02:00
parent 24ea18b7a0
commit 2d40213625
1 changed files with 1 additions and 5 deletions

View File

@ -30,8 +30,6 @@ public struct Pool: Codable, Hashable, CustomStringConvertible {
public enum CodingKeys: String, CodingKey {
case id
case name
case country
case area
@ -49,8 +47,6 @@ public struct Pool: Codable, Hashable, CustomStringConvertible {
public let id: String
private let name: String
public let country: String
public let area: String?
@ -111,7 +107,7 @@ public struct Pool: Codable, Hashable, CustomStringConvertible {
// MARK: CustomStringConvertible
public var description: String {
return "{[\(id)] \"\(name)\"}"
return "{[\(id)] \"\(localizedCountry)\"}"
}
}