We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2741dcd commit aa7a6b1Copy full SHA for aa7a6b1
1 file changed
apps/computer-vision/components/BottomBar.tsx
@@ -16,7 +16,11 @@ export const BottomBar = ({
16
<TouchableOpacity onPress={() => handleCameraPress(false)}>
17
<FontAwesome name="photo" size={24} color={ColorPalette.primary} />
18
</TouchableOpacity>
19
- <TouchableOpacity onPress={() => handleCameraPress(true)}>
+ <TouchableOpacity
20
+ onPress={() =>
21
+ !DeviceInfo.isEmulatorSync() && handleCameraPress(true)
22
+ }
23
+ >
24
<FontAwesome
25
name="camera"
26
size={24}
0 commit comments