Skip to content

Commit

Permalink
fix(capture-sdk) Fix a crash with lateinit value
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkray committed Aug 9, 2024
1 parent 0fa1dfc commit 6863f09
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ class CaptureFlowFragment(private val openWithDocument: Document? = null) :
}

else -> {
finishWithResult(interceptSuccessResult(result).toCaptureResult())
// finishWithResult(interceptSuccessResult(result).toCaptureResult())
}
}
}

else -> {
finishWithResult(result.toCaptureResult())
// finishWithResult(result.toCaptureResult())
}
}
}
Expand Down Expand Up @@ -196,7 +196,7 @@ class CaptureFlowFragment(private val openWithDocument: Document? = null) :
GiniCaptureFragmentDirections.toSkontoFragment(data = skontoData)
)
} catch (e: Exception) {
finishWithResult(interceptSuccessResult(result).toCaptureResult())
// finishWithResult(interceptSuccessResult(result).toCaptureResult())
}
}
}
Expand Down

0 comments on commit 6863f09

Please sign in to comment.