Appearance
Top Bar QR Code
- File:
src/components/UI/TopbarQrCode.svelte
Overview
Body of the "QR Code" modal opened from the Top Bar. It generates the user's personal sign-in QR code (getUserQrCode(true), from src/features/settings/svc) used by the mobile/headset apps, and shows a "Set PIN" prompt when the user has no PIN yet.
Behavior
- Fetches a fresh QR code on open.
- If the API returns a PIN-required state, shows a link to the Settings security view.
- Dispatches
onCloseto dismiss the modal.