|
|
|
@ -18,6 +18,9 @@ class Settings: MicroStorable { |
|
|
|
var deviceId: String? = nil |
|
|
|
var deviceId: String? = nil |
|
|
|
var lastSynchronization: String = "2000-01-01T00:00:00.000000Z" |
|
|
|
var lastSynchronization: String = "2000-01-01T00:00:00.000000Z" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// WARNING: adding mandatory variable is not without consequences !!! |
|
|
|
|
|
|
|
// Please add to the decoder below |
|
|
|
|
|
|
|
|
|
|
|
required init(from decoder: Decoder) throws { |
|
|
|
required init(from decoder: Decoder) throws { |
|
|
|
let container = try decoder.container(keyedBy: CodingKeys.self) |
|
|
|
let container = try decoder.container(keyedBy: CodingKeys.self) |
|
|
|
|
|
|
|
|
|
|
|
|