Skip to content

Commit cd6b4b9

Browse files
committed
fix: shut camera sound
1 parent 67bf6dc commit cd6b4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/componentsV2/features/Sheet/ToolSheet/useCameraHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const useCameraHandler = ({ onPhotoTaken, onSuccess }: UseCameraHandlerPr
3737
}
3838

3939
try {
40-
const photo = await cameraRef.current.takePictureAsync({ quality: 0.2 })
40+
const photo = await cameraRef.current.takePictureAsync({ quality: 0.2, shutterSound: false })
4141

4242
if (photo) {
4343
onPhotoTaken(photo.uri)

0 commit comments

Comments
 (0)