MeshtasticImportFAB
Unified Floating Action Button for importing Meshtastic data (Contacts, Channels, etc.) via NFC, QR, or URL. Handles the SharedContactImportDialog if a contact is pending import.
Parameters
Callback when a valid Meshtastic URI is scanned or input.
Modifier for this composable.
Optional pending SharedContact to display an import dialog for.
Callback to clear the pending shared contact.
Optional callback to trigger sharing channels.
Optional callback to trigger sharing the connected node as a contact.
Hint to customize UI strings for contact importing context.
What is being imported, which picks the UI strings. Derived from isContactContext by default.
Optional test tag for UI testing.
Composable to display the import dialog. Defaults to SharedContactImportDialog.