PermissionGate

fun PermissionGate(onGrant: () -> Unit, modifier: Modifier = Modifier)

Full-screen prompt shown when a category's runtime permission has not been granted.

Presents a rationale, a grant button and an expandable "learn more" section.

Parameters

onGrant

Invoked when the user taps the grant button (launches the permission request).

modifier

Modifier for layout/styling.