This commit is contained in:
Horis committed 2023-01-17 10:02:14 +08:00
1 parent f23d38077e
commit 7860d1dbb1
1 file changed
+1 -1
@@ -234,6 +234,6 @@ data class TextPage(
}
fun hasImageOrEmpty(): Boolean {
return textLines.any { it.isImage }
return textLines.any { it.isImage } || textLines.isEmpty()
}
}