Skip to content

Commit

Permalink
Fixed issue where PreviewDuration was not set correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinFarmer authored Nov 4, 2024
1 parent 119b810 commit c6fea72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class KlippaScannerSdkPlugin: FlutterPlugin, MethodCallHandler, ActivityAware, P
scannerSession.imageAttributes.outputQuality = it
}

call.argument<Double>("ImageMaxQuality")?.let {
call.argument<Double>("PreviewDuration")?.let {
scannerSession.durations.previewDuration = it
}

Expand Down

0 comments on commit c6fea72

Please sign in to comment.