Apply suggested changes to inline comment

pull/789/head
Amaury Medeiros 2 years ago committed by GitHub
parent dd70bbd589
commit 87c27f6b82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -407,7 +407,8 @@ fun TopicIcon(
@Composable
@OptIn(ExperimentalPermissionsApi::class)
private fun NotificationPermissionEffect() {
// Permissions should be called from in an Activity Context, which is not present in previews
// Permissions should be called from in an Activity Context, which is not present
// in previews
if (LocalInspectionMode.current) return
if (VERSION.SDK_INT < VERSION_CODES.TIRAMISU) return
val notificationsPermissionState = rememberPermissionState(

Loading…
Cancel
Save