Chart fixes

This commit is contained in:
Ilya Laktyushin
2020-03-25 20:44:20 +04:00
parent 79024f66f1
commit e854d7b4fa
27 changed files with 143 additions and 61 deletions

View File

@@ -36,7 +36,7 @@ public struct ChartsCollection {
}
public extension ChartsCollection {
public init(from decodedData: [String: Any]) throws {
init(from decodedData: [String: Any]) throws {
guard let columns = decodedData["columns"] as? [[Any]] else {
throw ChartsError.generalConversion("Unable to get columns from: \(decodedData)")
}