SettingsDownloadableListItem

fun SettingsDownloadableListItem(label: String, onPlayClick: () -> Unit, theme: NavigationSettingsTheme, subtitle: String? = null, onDownloadClick: () -> Unit = {}, downloadProgress: () -> Int? = null)

List row with a play button, label/subtitle, and either a download button or a progress arc.

Shows SettingsProgressIndicator while downloadProgress is non-null; otherwise shows the download button.

Parameters

label

Primary text.

onPlayClick

Called when the user taps the play button.

theme

Color and typography tokens.

subtitle

Secondary text shown below label, or null to hide.

onDownloadClick

Called when the user taps the download button.

downloadProgress

Current download progress (0–100), or null when not downloading.