Skip to content

Commit

Permalink
Fixed TryInverted on Android in scanner mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Apr 13, 2013
1 parent 8f780fb commit b28fc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZXing.Net.Mobile/MonoForAndroid/ZxingActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public void OnPreviewFrame (byte [] bytes, Android.Hardware.Camera camera)
if (!string.IsNullOrEmpty (this.options.CharacterSet))
barcodeReader.CharacterSet = this.options.CharacterSet;
if (this.options.TryInverted.HasValue)
barcodeReader.TryHarder = this.options.TryInverted.Value;
barcodeReader.TryInverted = this.options.TryInverted.Value;

if (this.options.PossibleFormats != null && this.options.PossibleFormats.Count > 0)
{
Expand Down

0 comments on commit b28fc36

Please sign in to comment.