8000 Merge branch 'hotfix/5.7.4' · ArielOSProject/Android@6a30f4e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a30f4e

Browse files
committed
Merge branch 'hotfix/5.7.4'
2 parents 1b78832 + e34c3eb commit 6a30f4e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ apply plugin: 'kotlin-kapt'
66
apply from: '../versioning.gradle'
77

88
ext {
9-
VERSION_NAME = "5.7.3"
9+
VERSION_NAME = "5.7.4"
1010
USE_ORCHESTRATOR = project.hasProperty('orchestrator') ? project.property('orchestrator') : false
1111
}
1212

app/src/main/java/com/duckduckgo/app/di/VariantModule.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,16 @@ import com.duckduckgo.app.statistics.WeightedRandomizer
2222
import com.duckduckgo.app.statistics.store.StatisticsDataStore
2323
import dagger.Module
2424
import dagger.Provides
25+
import javax.inject.Singleton
2526

2627

2728
@Module
2829
class VariantModule {
2930

3031
@Provides
31-
fun variantManager(statisticsDataStore: StatisticsDataStore, weightedRandomizer: WeightedRandomizer): VariantManager = ExperimentationVariantManager(statisticsDataStore, weightedRandomizer)
32+
@Singleton
33+
fun variantManager(statisticsDataStore: StatisticsDataStore, weightedRandomizer: WeightedRandomizer): VariantManager =
34+
ExperimentationVariantManager(statisticsDataStore, weightedRandomizer)
3235

3336
@Provides
3437
fun weightedRandomizer() = WeightedRandomizer()

0 commit comments

Comments
 (0)
0