Skip to content

Refactor: handleScan - #197

Open
robbi5 wants to merge 10 commits into
masterfrom
refactor-handlescan
Open

robbi5 wants to merge 10 commits into
masterfrom
refactor-handlescan

Conversation

@robbi5

@robbi5 robbi5 commented Sep 22, 2026

Copy link
Copy Markdown
Member

This PR splits handleScan into handleScan and performCheckin. handleScan now is the designated entry-point for hardware/camera scanner, keyboard, search selection and nfc and updates the lastScan* globals itself.
Check-ins that are continued after a dialog (exchange, questions, unpaid) are now using performCheckin.

This fixes:

  • missing unpaid dialog after rotation
  • crash when device rotated while a dialog (exchange, questions, unpaid) is open
  • check-in of the next ticket while the green success screen is visible in the kioskmode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant