@Composable fun NotificationPermissionDialogScreen( onDismiss: () -> Unit, grantNotificationPermission: () -> Unit, ) { NotificationPermissionContent( notificationPermissionPageState = NotificationPageState, onDismiss = { onDismiss() Onboarding.notifPppCloseClick.record(NoExtras()) }, onPrimaryButtonClick = { grantNotificationPermission() Onboarding.notifPppPositiveBtnClick.record(NoExtras()) }, onSecondaryButtonClick = { onDismiss() Onboarding.notifPppNegativeBtnClick.record(NoExtras()) }, ) }
A screen for displaying notification pre permission prompt.