Revert "Disable automatic opt-in screen display."

This reverts commit 08def813cc.
This commit is contained in:
Benoit Marty 2022-01-10 13:45:02 +01:00
parent 32f2e7d508
commit 6f348813a2
1 changed files with 1 additions and 4 deletions

View File

@ -83,12 +83,9 @@ class HomeActivityViewModel @AssistedInject constructor(
observeInitialSync()
checkSessionPushIsOn()
observeCrossSigningReset()
// Disable Analytics opt-in automatic display
// Waiting for translation and for analytic events to be actually sent
// observeAnalytics()
observeAnalytics()
}
@Suppress("unused")
private fun observeAnalytics() {
if (analyticsConfig.isEnabled) {
analyticsStore.didAskUserConsentFlow