diff --git a/ControlRoom/Controllers/Snapshot.swift b/ControlRoom/Controllers/Snapshot.swift index fa7b3f2..1f544f7 100644 --- a/ControlRoom/Controllers/Snapshot.swift +++ b/ControlRoom/Controllers/Snapshot.swift @@ -15,10 +15,4 @@ struct Snapshot: Equatable, Hashable, Identifiable { static func == (lhs: Snapshot, rhs: Snapshot) -> Bool { lhs.id == rhs.id } - - init(id: String, creationDate: Date, size: Int) { - self.id = id - self.creationDate = creationDate - self.size = size - } } diff --git a/ControlRoom/Helpers/URLFileAttribute.swift b/ControlRoom/Helpers/URLFileAttribute.swift index 5b29a41..e9fe830 100644 --- a/ControlRoom/Helpers/URLFileAttribute.swift +++ b/ControlRoom/Helpers/URLFileAttribute.swift @@ -9,9 +9,9 @@ import Foundation struct URLFileAttribute { - private(set) var folderSize: Int? = nil - private(set) var creationDate: Date? = nil - private(set) var modificationDate: Date? = nil + private(set) var folderSize: Int? + private(set) var creationDate: Date? + private(set) var modificationDate: Date? init(url: URL) { let path = url.path