Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jetbrains-compose-material-icons-extended = { module = "org.jetbrains.compose.ma
com-jakewharton-timber = { group = "com.jakewharton.timber", name = "timber", version="5.0.1" }
com-github-weliem-blessed-android = { group = "com.github.weliem", name = "blessed-android", version="2.4.0" }
io-github-vanpra-compose-dialogs-datetime = { group = "io.github.vanpra.compose-material-dialogs", name = "datetime", version="0.9.0" }
com-github-jwoglom-pumpx2-android = { group = "com.github.jwoglom.pumpX2", name = "pumpx2-android", version="v1.9.1" }
com-github-jwoglom-pumpx2-android = { group = "com.github.jwoglom.pumpX2", name = "pumpx2-android", version="v1.9.3" }
androidx-compose-runtime-livedata = { group = "androidx.compose.runtime", name = "runtime-livedata" }
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" }

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TandemDataConverter(

val bolusTypes = message.bolusType

val bolusType: BolusType = if (bolusTypes.contains(element = BolusDeliveryHistoryLog.BolusType.EXTENDED)) {
val bolusType: BolusType = if (bolusTypes.contains(element = BolusDeliveryHistoryLog.BolusType.LATER)) {
BolusType.EXTENDED
} else {
BolusType.NORMAL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class TandemPumpConnector(var tandemPumpStatus: TandemPumpStatus,
val bolusCarbs = 0

val bolusRequest = InitiateBolusRequest(volume, permissionResponseMessage.bolusId,
BolusDeliveryHistoryLog.BolusType.FOOD1.mask(),
BolusDeliveryHistoryLog.BolusType.NOW.mask(), // NOW = 1, same value as old FOOD1
0, 0,
bolusCarbs, 0, 0)

Expand Down
Loading