Rework the preference to avoid stringly typed properties.

This commit is contained in:
Damiano Galassi committed 2020-02-07 15:31:10 +01:00
1 parent 2694bdee45
commit fbc464e643
22 files changed
+321 -228

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ final class Ratings {
}
}
struct Country: Codable {
struct Country: Decodable {
let displayName: String
let storeCode: Int
let ratings: [Rating]
@@ -40,7 +40,7 @@ struct Country: Codable {
}
}
struct Rating: Codable {
struct Rating: Decodable {
let media: String
let prefix: String
let code: String