优化
This commit is contained in:
@@ -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