Upgrade logs to track all button interactions for debugging

This commit is contained in:
2026-06-01 11:28:12 +02:00
parent 13e4c734d6
commit 4d3d2f93d7
2 changed files with 44 additions and 8 deletions
+3
View File
@@ -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(() => {