Skip to content
Snippets Groups Projects
Commit d5772bb3 authored by chris-cwa's avatar chris-cwa
Browse files

use 1.8.x variants

parent 014de69a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ import javax.inject.Inject
@Reusable
class ExposureDetectionConfigMapper @Inject constructor() : ExposureDetectionConfig.Mapper {
override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): ExposureDetectionConfig {
val exposureParams = if (rawConfig.hasAndroidExposureDetectionParameters()) {
val exposureParams = if (rawConfig.hasExposureDetectionParameters()) {
rawConfig.exposureDetectionParameters
} else {
null
......
......@@ -16,7 +16,7 @@ import javax.inject.Inject
@Reusable
class KeyDownloadParametersMapper @Inject constructor() : KeyDownloadConfig.Mapper {
override fun map(rawConfig: AppConfigAndroid.ApplicationConfigurationAndroid): KeyDownloadConfig {
val rawParameters = if (rawConfig.hasAndroidKeyDownloadParameters()) {
val rawParameters = if (rawConfig.hasKeyDownloadParameters()) {
rawConfig.keyDownloadParameters
} else {
null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment