|
@@ -60,8 +60,7 @@ class KMHomeHistoryListView: KMBaseXibView {
|
|
self.data.removeAll()
|
|
self.data.removeAll()
|
|
for url in NSDocumentController.shared.recentDocumentURLs {
|
|
for url in NSDocumentController.shared.recentDocumentURLs {
|
|
if FileManager.default.fileExists(atPath: url.path) {
|
|
if FileManager.default.fileExists(atPath: url.path) {
|
|
- let file = KMFile()
|
|
|
|
- file.filePath = url.path
|
|
|
|
|
|
+ let file = KMFileManager.manager.fetchFile(filePath: url.path)
|
|
self.data.append(file)
|
|
self.data.append(file)
|
|
}
|
|
}
|
|
}
|
|
}
|