No need to sort AnalyticsProvider (it was copied from PushProvider)

This commit is contained in:
Benoit Marty 2023-07-21 18:12:17 +02:00
parent 3622623fa1
commit d4156653fd
6 changed files with 7 additions and 11 deletions

View file

@ -56,8 +56,8 @@ class DefaultAnalyticsService @Inject constructor(
observeSessions()
}
override fun getAvailableAnalyticsProviders(): List<AnalyticsProvider> {
return analyticsProviders.sortedBy { it.index }
override fun getAvailableAnalyticsProviders(): Set<AnalyticsProvider> {
return analyticsProviders
}
override fun getUserConsent(): Flow<Boolean> {