Properly show TBR duration in fragment
This commit is contained in:
parent
4d213eae7d
commit
65400560dd
1 changed files with 1 additions and 1 deletions
|
@ -272,7 +272,7 @@ public class LocalInsightFragment extends SubscriberFragment implements View.OnC
|
|||
if (LocalInsightPlugin.getInstance().getActiveTBR() == null) return;
|
||||
ActiveTBR activeTBR = LocalInsightPlugin.getInstance().getActiveTBR();
|
||||
statusItems.add(getStatusItem(MainApp.gs(R.string.pump_tempbasal_label),
|
||||
MainApp.gs(R.string.tbr_formatter, activeTBR.getPercentage(), activeTBR.getRemainingDuration(), activeTBR.getInitialDuration())));
|
||||
MainApp.gs(R.string.tbr_formatter, activeTBR.getPercentage(), activeTBR.getInitialDuration() - activeTBR.getRemainingDuration(), activeTBR.getInitialDuration())));
|
||||
}
|
||||
|
||||
private void getBolusItems(List<View> statusItems) {
|
||||
|
|
Loading…
Reference in a new issue