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 e97b728 commit 61761cd
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,11 @@ class CaptureFlowFragment(private val openWithDocument: Document? = null) :
}

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

else -> {
// finishWithResult(result.toCaptureResult())
}
}
}
Expand Down Expand Up @@ -195,7 +193,6 @@ class CaptureFlowFragment(private val openWithDocument: Document? = null) :
GiniCaptureFragmentDirections.toSkontoFragment(data = skontoData)
)
} catch (e: Exception) {
// finishWithResult(interceptSuccessResult(result).toCaptureResult())
}
}
}
Expand Down Expand Up @@ -238,23 +235,13 @@ class CaptureFlowFragment(private val openWithDocument: Document? = null) :
specificExtractions: Map<String, GiniCaptureSpecificExtraction>,
compoundExtractions: Map<String, GiniCaptureCompoundExtraction>
) {
// finishWithResult(CaptureResult.Success(
// specificExtractions,
// compoundExtractions,
// emptyList()
// ))
}


override fun onPayInvoiceWithSkonto(
specificExtractions: Map<String, GiniCaptureSpecificExtraction>,
compoundExtractions: Map<String, GiniCaptureCompoundExtraction>
) {
// finishWithResult(CaptureResult.Success(
// specificExtractions,
// compoundExtractions,
// emptyList()
// ))
}


Expand Down

0 comments on commit 61761cd

Please sign in to comment.