Skip to content

Commit 8b78f4f

Browse files
authored
Update README.md
1 parent 99cac37 commit 8b78f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can provide a variety of extra customization options to `CodeScannerView` in
3636
- `simulatedData` allows you to provide some test data to use in Simulator, when real scanning isn’t available. Default: an empty string.
3737
- `shouldVibrateOnSuccess` allows you to determine whether device should vibrate when a code is found. Default: true.
3838
- `videoCaptureDevice` allows you to choose different capture device that is most suitable for code to scan.
39-
- `isTorchOn` turns on the phone’s torch/flashlight.
39+
- `isTorchOn` turns on/off the phone’s torch/flashlight. Default: `false`
4040

4141
If you want to add UI customization, such as a dedicated Cancel button, you should wrap your `CodeScannerView` instance in a `NavigationView` and use a `toolbar()` modifier to add whatever buttons you want.
4242

0 commit comments

Comments
 (0)