From 8316d22333072adb94ae703ab9dfc839892caa4e Mon Sep 17 00:00:00 2001 From: Abbey Campbell Date: Tue, 21 Apr 2026 09:48:27 -0700 Subject: [PATCH] add another tablet comment --- .../Camera/StandardCamera/CameraOptionsButtons.js | 7 ++++--- src/components/Camera/StandardCamera/StandardCamera.js | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Camera/StandardCamera/CameraOptionsButtons.js b/src/components/Camera/StandardCamera/CameraOptionsButtons.js index 7ef0ae19f..e220c5473 100644 --- a/src/components/Camera/StandardCamera/CameraOptionsButtons.js +++ b/src/components/Camera/StandardCamera/CameraOptionsButtons.js @@ -14,7 +14,6 @@ type Props = { takePhoto: () => Promise, handleClose: Function, disabled: boolean, - confirmDisabled: boolean, photosTaken: boolean, rotatableAnimatedStyle: Object, handleCheckmarkPress: Function, @@ -31,7 +30,6 @@ const CameraOptionsButtons = ( { takePhoto, handleClose, disabled, - confirmDisabled, photosTaken, rotatableAnimatedStyle, handleCheckmarkPress, @@ -72,7 +70,10 @@ const CameraOptionsButtons = ( { takePhoto={takePhoto} handleClose={handleClose} disabled={disabled} - confirmDisabled={confirmDisabled} + // TODO: once we re-visit tablet views, we'll want to ensure users cannot spam the submit + // button while taking photos. see: + // https://linear.app/inaturalist/issue/MOB-1084/multicapture-camera-multiple-copies-of-photos-can-be-saved + // confirmDisabled={confirmDisabled} photosTaken={photosTaken} rotatableAnimatedStyle={rotatableAnimatedStyle} handleCheckmarkPress={handleCheckmarkPress} diff --git a/src/components/Camera/StandardCamera/StandardCamera.js b/src/components/Camera/StandardCamera/StandardCamera.js index 62cba2c04..5ef1b0f8b 100644 --- a/src/components/Camera/StandardCamera/StandardCamera.js +++ b/src/components/Camera/StandardCamera/StandardCamera.js @@ -234,7 +234,6 @@ const StandardCamera = ( { flipCamera={onFlipCamera} handleCheckmarkPress={handleCheckmarkPress} handleClose={handleBackButtonPress} - confirmDisabled={takingPhoto || confirmPhotosInProgress} hasFlash={hasFlash} photosTaken={photosTaken} rotatableAnimatedStyle={rotatableAnimatedStyle}