Browse Source

Merge branch 'coreData' into bdb_dev

Jon B.M 3 năm trước cách đây
mục cha
commit
51197f6ad9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      FreeAPS/Sources/Services/Storage/Disk/Disk+Codable.swift

+ 1 - 1
FreeAPS/Sources/Services/Storage/Disk/Disk+Codable.swift

@@ -66,7 +66,7 @@ public extension Disk {
                     try newData.write(to: url, options: .atomic)
                 }
             } else {
-                try save([value], to: directory, as: path, encoder: encoder)
+                try? save([value], to: directory, as: path, encoder: encoder)
             }
         } catch {
             throw error