Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
afriscic committed Nov 24, 2024
1 parent 00872bc commit 491fcc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This library was inspired by existing MAUI barcode scanning libraries: [BarcodeS
```csharp
private void CameraView_OnDetectionFinished(object sender, OnDetectionFinishedEventArg e)
{
if (e.BarcodeResults.Length > 0)
if (e.BarcodeResults.Count > 0)
...
}
```
Expand All @@ -75,7 +75,7 @@ This library was inspired by existing MAUI barcode scanning libraries: [BarcodeS
```csharp
public ICommand DetectionFinishedCommand { get; set; }
...
DetectionFinishedCommand = new Command<BarcodeResult[]>(IReadOnlySet<BarcodeResult> result) =>
DetectionFinishedCommand = new Command<IReadOnlySet<BarcodeResult>>(IReadOnlySet<BarcodeResult> result) =>
{
if (result.Count > 0)
...
Expand Down

0 comments on commit 491fcc7

Please sign in to comment.