Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
navaronbracke committed Oct 23, 2023
1 parent d87b4dd commit 2f913f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class MobileScannerHandler(
"stop" -> stop(result)
"analyzeImage" -> analyzeImage(call, result)
"setScale" -> setScale(call, result)
"resetScale" -> resetScale(call, result)
"resetScale" -> resetScale(result)
"updateScanWindow" -> updateScanWindow(call)
else -> result.notImplemented()
}
Expand Down Expand Up @@ -250,7 +250,7 @@ class MobileScannerHandler(
}
}

private fun resetScale(call: MethodCall, result: MethodChannel.Result) {
private fun resetScale(result: MethodChannel.Result) {
try {
mobileScanner!!.resetScale()
result.success(null)
Expand Down

0 comments on commit 2f913f9

Please sign in to comment.