Skip to content

Commit b9cb05f

Browse files
committed
CodeScanned update
1 parent 0c1d0cd commit b9cb05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/docs/mobile/2/apis/scanner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use Native\Mobile\Events\Scanner\CodeScanned;
1919
Scanner::scan();
2020

2121
// Listen for scan results
22-
#[OnNative(Scanned::class)]
22+
#[OnNative(CodeScanned::class)]
2323
public function handleScan($data, $format, $id = null)
2424
{
2525
Dialog::toast("Scanned: {$data}");

0 commit comments

Comments
 (0)