This commit is contained in:
Horis
2023-01-17 10:02:14 +08:00
parent 68ff06c390
commit eebdbd41ec

View File

@@ -234,6 +234,6 @@ data class TextPage(
}
fun hasImageOrEmpty(): Boolean {
return textLines.any { it.isImage }
return textLines.any { it.isImage } || textLines.isEmpty()
}
}