Upgrade logs to track all button interactions for debugging
This commit is contained in:
@@ -205,6 +205,7 @@ export default function CameraScreen({
|
||||
|
||||
// Cancel capture process
|
||||
const handleLocalCancel = async () => {
|
||||
logger.log('Action: Cancelled camera burst capture');
|
||||
isCancelledRef.current = true;
|
||||
if (burstTimerRef.current) clearTimeout(burstTimerRef.current);
|
||||
if (countdownTimerRef.current) clearTimeout(countdownTimerRef.current);
|
||||
@@ -380,12 +381,14 @@ export default function CameraScreen({
|
||||
};
|
||||
|
||||
const handleSettingsTap = () => {
|
||||
logger.log('Action: Tapped settings button');
|
||||
setEnteredPassword('');
|
||||
setErrorText('');
|
||||
setPasswordModalVisible(true);
|
||||
};
|
||||
|
||||
const handlePasswordSubmit = () => {
|
||||
logger.log(`Action: Submitted admin password (correct: ${enteredPassword === adminPassword})`);
|
||||
if (enteredPassword === adminPassword) {
|
||||
setPasswordModalVisible(false);
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user