ImportKeyScreen

fun ImportKeyScreen(onBack: () -> Unit, viewModel: KeyListViewModel = hiltViewModel())

Key import screen.

Accepts pasted armored key text or a selected file, detects whether the block is public or secret, and delegates the import to viewModel.

Parameters

onBack

invoked to navigate back.

viewModel

backing KeyListViewModel (defaults to a Hilt instance).