Set String instead of int value for pod LOT in RileyLinkStatusGeneralFragment
This commit is contained in:
parent
b5d55adb2e
commit
07d520313f
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ public class RileyLinkStatusGeneralFragment extends DaggerFragment implements Re
|
||||||
if (omnipodPumpStatus != null) {
|
if (omnipodPumpStatus != null) {
|
||||||
PodStateManager podStateManager = ((OmnipodPumpPlugin) pumpPlugin).getPodStateManager();
|
PodStateManager podStateManager = ((OmnipodPumpPlugin) pumpPlugin).getPodStateManager();
|
||||||
if (podStateManager.isPaired()) {
|
if (podStateManager.isPaired()) {
|
||||||
this.serialNumber.setText(podStateManager.getLot());
|
this.serialNumber.setText(String.valueOf(podStateManager.getLot()));
|
||||||
this.connectedDevice.setText(omnipodPumpStatus.pumpType == PumpType.Insulet_Omnipod ? "Eros Pod" : "Dash Pod");
|
this.connectedDevice.setText(omnipodPumpStatus.pumpType == PumpType.Insulet_Omnipod ? "Eros Pod" : "Dash Pod");
|
||||||
} else {
|
} else {
|
||||||
this.serialNumber.setText("??");
|
this.serialNumber.setText("??");
|
||||||
|
|
Loading…
Add table
Reference in a new issue