ScannedQrCodeDialog
fun ScannedQrCodeDialog(incoming: ChannelSet, onDismiss: () -> Unit, viewModel: ScannedQrCodeViewModel = metroViewModel())(source)
fun ScannedQrCodeDialog(channels: ChannelSet, incoming: ChannelSet, onDismiss: () -> Unit, maxChannels: Int = DEFAULT_MAX_CHANNELS, onConfirm: (ChannelSet) -> Unit)(source)
Lets the user choose between adding the incoming channels to the radio and replacing the radio's channels and LoRa settings, review what will change, and confirm. Choosing a mode changes nothing; only the confirm button imports.