SettingsScreen

fun SettingsScreen(onBack: () -> Unit, onOpenQrKeys: () -> Unit = {}, onOpenSmartCard: () -> Unit = {}, showBack: Boolean = true, isActive: Boolean = true, viewModel: SettingsViewModel = hiltViewModel(), overlayViewModel: OverlayConfigViewModel = hiltViewModel())

Settings screen composable.

Renders grouped preference sections and embeds OverlayConfigSection when the tab is active. Refreshes accessibility state on resume.

Parameters

onBack

invoked to navigate back.

onOpenQrKeys

invoked to open the QR key exchange screen.

onOpenSmartCard

invoked to open the smart-card screen.

showBack

whether to display the back affordance.

isActive

whether this tab is currently visible (defers overlay config load).

viewModel
overlayViewModel