toolkitFooter

fun DrawerBuilder.toolkitFooter(onShowUpdates: () -> Unit?)(source)

The entries every Toolkit app ends its drawer with, in this order: Settings, Help and feedback, Updates and Share. They go in the drawer's footer, so they stay at the bottom edge after anything the app lists, whatever order it lists it in.

drawer {
link(LibraryRoute, R.string.library, ToolkitIcon.Vector(Icons.Outlined.VideoLibrary))
toolkitFooter(onShowUpdates = { showChangelog = true })
}

Parameters

onShowUpdates

Shows what is new, typically the changelog dialog of :library:feature:changelog. Null leaves Updates out.