Skip to content

Commit

Permalink
Show image if take image button is clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
AutumnQiu99 committed Nov 16, 2024
1 parent fb34942 commit ef169bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scan.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function Page() {

return (
<View style={styles.container}>
{imageUri ? <Image source={{ uri: imageUri }} style={{ width: 100, height: 100 }} /> :
{imageUri ? <Image source={{ uri: imageUri }} style={{ width: 500, height: 500 }} /> :
<CameraView ref={cameraRef} style={styles.camera} facing={facing}>
<View style={styles.buttonContainer}>
<TouchableOpacity style={styles.button} onPress={toggleCameraFacing}>
Expand Down

0 comments on commit ef169bd

Please sign in to comment.