Wear: fix display value

This commit is contained in:
Milos Kozak 2023-11-03 17:41:04 +01:00
parent 47758b6b27
commit 29356e0b2c

View file

@ -978,7 +978,7 @@ class DataHandlerMobile @Inject constructor(
return EventData.SingleBg(
timeStamp = glucoseValue.timestamp,
sgvString = profileUtil.stringInCurrentUnitsDetect(glucoseValue.value),
sgvString = profileUtil.stringInCurrentUnitsDetect(glucoseValue.recalculated),
glucoseUnits = units.asText,
slopeArrow = (autosensDataStore?.let { ads -> trendCalculator.getTrendArrow(ads) } ?: GlucoseValue.TrendArrow.NONE).symbol,
delta = glucoseStatus?.let { deltaString(it.delta, it.delta * Constants.MGDL_TO_MMOLL, units) } ?: "--",