Set String instead of int value for pod LOT in RileyLinkStatusGeneralFragment

This commit is contained in:
Bart Sopers 2020-08-11 22:46:02 +02:00
parent b5d55adb2e
commit 07d520313f

View file

@ -173,7 +173,7 @@ public class RileyLinkStatusGeneralFragment extends DaggerFragment implements Re
if (omnipodPumpStatus != null) {
PodStateManager podStateManager = ((OmnipodPumpPlugin) pumpPlugin).getPodStateManager();
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");
} else {
this.serialNumber.setText("??");