added comment

sync_v2
Laurent 7 months ago
parent 1d416ebdd6
commit a5a2ede299
  1. 3
      LeStorage/Codables/Settings.swift

@ -18,6 +18,9 @@ class Settings: MicroStorable {
var deviceId: String? = nil
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 {
let container = try decoder.container(keyedBy: CodingKeys.self)

Loading…
Cancel
Save