|
@@ -283,6 +283,7 @@ extension KMNoteTableViewCell {
|
|
noteString = data.contents ?? ""
|
|
noteString = data.contents ?? ""
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.annotationContentLabel.stringValue = noteString
|
|
|
|
|
|
|
|
+ self.isFold = isFold
|
|
if (noteString.isEmpty == false) {
|
|
if (noteString.isEmpty == false) {
|
|
self.contentViewHidden(false)
|
|
self.contentViewHidden(false)
|
|
} else {
|
|
} else {
|
|
@@ -366,6 +367,7 @@ extension KMNoteTableViewCell {
|
|
} else {
|
|
} else {
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.annotationContentLabel.stringValue = noteString
|
|
self.imageViewHeightConstraint.constant = self.contentView.frame.size.height
|
|
self.imageViewHeightConstraint.constant = self.contentView.frame.size.height
|
|
|
|
+ self.isFold = isFold
|
|
if (noteString.isEmpty == false) {
|
|
if (noteString.isEmpty == false) {
|
|
self.contentViewHidden(false)
|
|
self.contentViewHidden(false)
|
|
} else {
|
|
} else {
|