|
@@ -2337,12 +2337,7 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
|
|
|
//
|
|
|
let timeKey = self.noteTypeDict[Self.Key.noteFilterTime] as? Bool
|
|
|
if timeKey == nil || timeKey == false {
|
|
|
-// if (date != nil) {
|
|
|
- cell.timeLabel.stringValue = dateString
|
|
|
-//
|
|
|
-// } else {
|
|
|
-// cell.timeLabel.stringValue = ""
|
|
|
-// }
|
|
|
+ cell.timeLabel.stringValue = dateString
|
|
|
cell.timeLabel.isHidden = false
|
|
|
} else {
|
|
|
cell.timeLabel.isHidden = true
|
|
@@ -2499,7 +2494,9 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
|
|
|
cell.contentViewHidden(true)
|
|
|
}
|
|
|
} else if data.isKind(of: CPDFLineAnnotation.self) || noteType == SKNSquareString || noteType == SKNCircleString || noteType == SKNInkString {
|
|
|
+ noteString = data.page?.string(for: data.bounds) ?? ""
|
|
|
cell.annotationContentLabel.stringValue = noteString
|
|
|
+
|
|
|
if (noteString.isEmpty == false) {
|
|
|
cell.contentViewHidden(false)
|
|
|
} else {
|