|
@@ -319,10 +319,14 @@ extension KMNoteOutlineFilterViewController {
|
|
private func _addNoteTypeWith(_ type: String) {
|
|
private func _addNoteTypeWith(_ type: String) {
|
|
if let cnt = self._typeMutableArray?.count, cnt > 0 {
|
|
if let cnt = self._typeMutableArray?.count, cnt > 0 {
|
|
if self._typeMutableArray?.contains(type) == false {
|
|
if self._typeMutableArray?.contains(type) == false {
|
|
- self._typeMutableArray?.add(type as Any)
|
|
|
|
|
|
+ if type.isEmpty == false && type != "Image" {
|
|
|
|
+ self._typeMutableArray?.add(type as Any)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- self._typeMutableArray?.add(type as Any)
|
|
|
|
|
|
+ if type.isEmpty == false && type != "Image" {
|
|
|
|
+ self._typeMutableArray?.add(type as Any)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|