diff --git a/components/QRCodeScanner.tsx b/components/QRCodeScanner.tsx index a4d86c108..cc64a1d89 100644 --- a/components/QRCodeScanner.tsx +++ b/components/QRCodeScanner.tsx @@ -183,64 +183,60 @@ export default class QRCodeScanner extends React.Component { return ( <> {cameraStatus === CameraAuthStatus.AUTHORIZED && ( - + + + + {isTorchOn ? ( + + ) : ( + + )} + + + + + + {text !== undefined && ( + {text} + )} - - - {isTorchOn ? ( - - ) : ( - - )} - - - - - - {text !== undefined && ( - {text} - )} - - - - - - -