Skip to content

Commit

Permalink
Merge pull request #70 from Clancey/main
Browse files Browse the repository at this point in the history
Fix null exception
  • Loading branch information
Redth committed Nov 10, 2022
2 parents 1059334 + 44dc526 commit 8f16b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZXing.Net.MAUI/ZXingBarcodeReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public BarcodeReaderOptions Options
get => options ??= new BarcodeReaderOptions();
set
{
options = value;
options = value ?? new BarcodeReaderOptions();
zxingReader.Options.PossibleFormats = options.Formats.ToZXingList();
zxingReader.Options.TryHarder = options.TryHarder;
zxingReader.AutoRotate = options.AutoRotate;
Expand Down

0 comments on commit 8f16b14

Please sign in to comment.