SharedContactDialog

fun SharedContactDialog(contact: Node?, onDismiss: () -> Unit, isOwnContact: Boolean = false)(source)

Displays a dialog with the contact's information as a QR code and URI.

Sharing your own contact marks it manually verified (design#149 point 2): you hold your own radio's key, and a QR shown in person is the in-person exchange. Relaying someone else's contact asserts nothing on their behalf.

Parameters

contact

The node representing the contact to share. Null if no contact is selected.

isOwnContact

True when contact is the connected radio.

onDismiss

Callback invoked when the dialog is dismissed.