Skip to content

Commit

Permalink
Merge branch 'hotfix/5.7.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
CDRussell committed Jul 25, 2018
2 parents 1b78832 + e34c3eb commit 6a30f4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apply plugin: 'kotlin-kapt'
apply from: '../versioning.gradle'

ext {
VERSION_NAME = "5.7.3"
VERSION_NAME = "5.7.4"
USE_ORCHESTRATOR = project.hasProperty('orchestrator') ? project.property('orchestrator') : false
}

Expand Down
5 changes: 4 additions & 1 deletion app/src/main/java/com/duckduckgo/app/di/VariantModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ import com.duckduckgo.app.statistics.WeightedRandomizer
import com.duckduckgo.app.statistics.store.StatisticsDataStore
import dagger.Module
import dagger.Provides
import javax.inject.Singleton


@Module
class VariantModule {

@Provides
fun variantManager(statisticsDataStore: StatisticsDataStore, weightedRandomizer: WeightedRandomizer): VariantManager = ExperimentationVariantManager(statisticsDataStore, weightedRandomizer)
@Singleton
fun variantManager(statisticsDataStore: StatisticsDataStore, weightedRandomizer: WeightedRandomizer): VariantManager =
ExperimentationVariantManager(statisticsDataStore, weightedRandomizer)

@Provides
fun weightedRandomizer() = WeightedRandomizer()
Expand Down

0 comments on commit 6a30f4e

Please sign in to comment.