mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-07 15:48:38 +01:00
Analytics | if no property use null instead of empty map
This commit is contained in:
parent
2bbb49bdd3
commit
752c884eaa
@ -177,7 +177,7 @@ class DefaultVectorAnalytics @Inject constructor(
|
||||
?.takeIf { userConsent == true }
|
||||
?.capture(
|
||||
event.getName(),
|
||||
event.getProperties().orEmpty().toPostHogProperties()
|
||||
event.getProperties()?.toPostHogProperties()
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user