Correctly display Omnipod information in RL stats

This commit is contained in:
Bart Sopers 2020-08-21 22:28:42 +02:00
parent 53c27b8078
commit 28f1dbb47f

View file

@ -357,7 +357,7 @@ public class OmnipodPumpPlugin extends PumpPluginAbstract implements OmnipodPump
String frequency = resourceHelper.gs(R.string.omnipod_frequency);
String connectedModel = podStateManager.isPodInitialized() ? "Eros Pod" : "-";
String serialNumber = podStateManager.isPodInitialized() ? String.valueOf(podStateManager.getAddress()) : "-";
return new RileyLinkPumpInfo(connectedModel, pumpDescription, serialNumber, frequency);
return new RileyLinkPumpInfo(pumpDescription, frequency, connectedModel, serialNumber);
}
@Override public long getLastConnectionTimeMillis() {