CryptoScreen

fun CryptoScreen(onBack: () -> Unit = {}, showBack: Boolean = true, viewModel: CryptoViewModel = hiltViewModel())

Top-level crypto screen composable.

Renders the mode tabs, payload picker and the mode-specific panel, wiring user actions to CryptoViewModel and handling file-picker and share intents.

Parameters

onBack

invoked when the back affordance is used.

showBack

whether to display the back affordance.

viewModel

the backing CryptoViewModel (defaults to a Hilt instance).