Merge pull request #389 from swissalpine/patch-5
Fix for AAPS SMB Mode: doesn't work with XDrip anymore - in latest Dev Versions
This commit is contained in:
commit
b0823bcfb8
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -77,6 +77,7 @@ data class GlucoseValue(
|
|||
@SerializedName("DexcomG5") DEXCOM_G5_XDRIP("DexcomG5"),
|
||||
@SerializedName("G6 Native") DEXCOM_G6_NATIVE_XDRIP("G6 Native"),
|
||||
@SerializedName("G5 Native") DEXCOM_G5_NATIVE_XDRIP("G5 Native"),
|
||||
@SerializedName("G6 Native / G5 Native") DEXCOM_G6_G5_NATIVE_XDRIP("G6 Native / G5 Native"),
|
||||
@SerializedName("Network libre") LIBRE_1_NET("Network libre"),
|
||||
@SerializedName("BlueReader") LIBRE_1_BLUE("BlueReader"),
|
||||
@SerializedName("Transmiter PL") LIBRE_1_PL("Transmiter PL"),
|
||||
|
@ -104,4 +105,4 @@ data class GlucoseValue(
|
|||
fun fromString(source: String?) = values().firstOrNull { it.text == source } ?: UNKNOWN
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue