xdrip: G7 support

This commit is contained in:
Milos Kozak 2024-01-08 15:49:25 +01:00 committed by Casper V. Kristensen
parent c00f8fd23d
commit 3d7cea4739
2 changed files with 3 additions and 1 deletions

View file

@ -97,6 +97,7 @@ data class GlucoseValue(
DEXCOM_G6_NATIVE_XDRIP("G6 Native"), DEXCOM_G6_NATIVE_XDRIP("G6 Native"),
DEXCOM_G5_NATIVE_XDRIP("G5 Native"), DEXCOM_G5_NATIVE_XDRIP("G5 Native"),
DEXCOM_G6_G5_NATIVE_XDRIP("G6 Native / G5 Native"), DEXCOM_G6_G5_NATIVE_XDRIP("G6 Native / G5 Native"),
DEXCOM_G7_NATIVE_XDRIP("G7"),
LIBRE_1_OTHER("Other App"), LIBRE_1_OTHER("Other App"),
LIBRE_1_NET("Network libre"), LIBRE_1_NET("Network libre"),
LIBRE_1_BLUE("BlueReader"), LIBRE_1_BLUE("BlueReader"),

View file

@ -61,7 +61,8 @@ class XdripSourcePlugin @Inject constructor(
GlucoseValue.SourceSensor.DEXCOM_G5_NATIVE, GlucoseValue.SourceSensor.DEXCOM_G5_NATIVE,
GlucoseValue.SourceSensor.DEXCOM_G6_NATIVE_XDRIP, 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 GlucoseValue.SourceSensor.DEXCOM_G6_G5_NATIVE_XDRIP,
GlucoseValue.SourceSensor.DEXCOM_G7_NATIVE_XDRIP
).any { it == glucoseValue.sourceSensor } ).any { it == glucoseValue.sourceSensor }
} }