DownloadDialog

fun DownloadDialog(modifier: Modifier = Modifier, modelId: String, onDismissRequest: () -> Unit, onDownloadSourceSelected: (url: String) -> Unit)(source)

Dialog-scoped MVI entry point for selecting one download URL for a local model.

Parameters

modelId

downloadable model id used by DownloadDialogViewModel to load candidate URLs.

onDownloadSourceSelected

called with the selected URL when the user confirms.