KeyListScreen

fun KeyListScreen(onCreateKey: () -> Unit, onImportKey: () -> Unit, onSearchKeys: () -> Unit, onKeyClick: (Long) -> Unit, showTopBar: Boolean = true, viewModel: KeyListViewModel = hiltViewModel())

Key list screen listing the user's secret and public keys.

Parameters

onCreateKey

invoked to start key creation.

onImportKey

invoked to start key import.

onSearchKeys

invoked to open keyserver search.

onKeyClick

invoked with a master key id when a key row is tapped.

showTopBar

whether to render the screen's top app bar.

viewModel

backing KeyListViewModel (defaults to a Hilt instance).