Update XdripPlugin.kt

This commit is contained in:
swissalpine 2021-03-03 11:06:55 +01:00 committed by GitHub
parent 68a665bbeb
commit 98e2d9ec86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,8 @@ class XdripPlugin @Inject constructor(
GlucoseValue.SourceSensor.DEXCOM_G6_NATIVE,
GlucoseValue.SourceSensor.DEXCOM_G5_NATIVE,
GlucoseValue.SourceSensor.DEXCOM_G6_NATIVE_XDRIP,
GlucoseValue.SourceSensor.DEXCOM_G5_NATIVE_XDRIP
GlucoseValue.SourceSensor.DEXCOM_G5_NATIVE_XDRIP,
GlucoseValue.SourceSensor.DEXCOM_G6_G5_NATIVE_XDRIP
).any { it == glucoseValue.sourceSensor }
}
@ -102,4 +103,4 @@ class XdripPlugin @Inject constructor(
return Result.success()
}
}
}
}