Disable automatic opt-in screen display.

We want to wait for translations to be available in the project before showing this screen to every users.
This commit is contained in:
Benoit Marty 2021-12-14 11:34:06 +01:00
parent f4cfb5d6d3
commit 08def813cc

View file

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