updateContextualItems

fun updateContextualItems(transform: (PersistentList<ToolbarItem>) -> PersistentList<ToolbarItem>)

Transforms the shown contextual toolbar's items. Silent no-op when none is shown.