Skip to content

Commit

Permalink
add detect
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanganhtuan95ptit committed Jan 23, 2023
1 parent 7e88269 commit 42b927a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified .gradle/7.2/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/7.2/fileHashes/fileHashes.lock
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ abstract class MlkitDetectTask : DetectTask {
override suspend fun execute(param: DetectTask.Param): ResultState<List<Paragraph>> {


if (param.detectOption.isDetectText()) {
if (!param.detectOption.isDetectText()) {

return ResultState.Failed(RuntimeException("not support ${param.detectOption.name}"))
}
Expand Down

0 comments on commit 42b927a

Please sign in to comment.