UnitsPickerDialog

fun UnitsPickerDialog(current: UnitsOverride, onClickUnits: (UnitsOverride) -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)(source)

Shared single-choice dialog for the display units. Used by both Android and Desktop settings screens.

The copy names the setting's scope explicitly — this app's display, not the radio's own screen — because "set the device Display to metric, app still shows miles" is the perennial confusion in every units thread (#6840): the radio's DisplayConfig only ever drove the device screen.