Fix inline comment as suggested in PR

pull/1837/head
Amaury Medeiros 2 years ago committed by GitHub
parent 66f6205ec5
commit 7dead40510

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

Loading…
Cancel
Save