Enable detekt rule UnusedPrivateMember and cleanup the code.

This commit is contained in:
Benoit Marty
2023-07-20 17:44:14 +02:00
parent 2449cbbaa3
commit bb3511e5f3
3 changed files with 3 additions and 47 deletions

View File

@@ -101,9 +101,11 @@ class PosthogAnalyticsProvider @Inject constructor(
* We avoid sending nulls as part of the UserProperties as this will reset the values across all devices.
* The UserProperties event has nullable properties to allow for clients to opt in.
*/
/*
private fun Map<String, Any?>.toPostHogUserProperties(): Properties {
return Properties().apply {
putAll(this@toPostHogUserProperties.filter { it.value != null })
}
}
*/
}