优化
This commit is contained in:
1 parent
f23d38077e
commit
7860d1dbb1
1 file changed
+1
-1
@@ -234,6 +234,6 @@ data class TextPage(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun hasImageOrEmpty(): Boolean {
|
fun hasImageOrEmpty(): Boolean {
|
||||||
return textLines.any { it.isImage }
|
return textLines.any { it.isImage } || textLines.isEmpty()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user