comboctl-parser: Fix battery in ExtendedAndMultiwaveBolusMainScreenParser
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
This commit is contained in:
parent
8d9e5cc833
commit
7598ae758c
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ class ExtendedAndMultiwaveBolusMainScreenParser : Parser() {
|
|||
}
|
||||
|
||||
val batteryState = batteryStateFromSymbol(
|
||||
if (parseResult.size >= 7) parseResult.valueAt<Glyph.SmallSymbol>(5).symbol else null
|
||||
if (parseResult.size >= 7) parseResult.valueAt<Glyph.SmallSymbol>(6).symbol else null
|
||||
)
|
||||
|
||||
val remainingBolusDuration = parseResult.valueAt<LocalDateTime>(0)
|
||||
|
|
Loading…
Reference in a new issue