Update README.md
This commit is contained in:
parent
55185a3a4a
commit
47ca374e86
@ -73,6 +73,7 @@ function App() {
|
|||||||
const devices = useCameraDevices('wide-angle-camera')
|
const devices = useCameraDevices('wide-angle-camera')
|
||||||
const device = devices.back
|
const device = devices.back
|
||||||
|
|
||||||
|
if (device == null) return <LoadingView />
|
||||||
return (
|
return (
|
||||||
<Camera
|
<Camera
|
||||||
style={StyleSheet.absoluteFill}
|
style={StyleSheet.absoluteFill}
|
||||||
|
Loading…
Reference in New Issue
Block a user