Remove duplicated code.
This commit is contained in:
parent
4e978656f5
commit
c04d746cfc
|
@ -1165,9 +1165,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
flag &= ~Paint.STRIKE_THRU_TEXT_FLAG;
|
flag &= ~Paint.STRIKE_THRU_TEXT_FLAG;
|
||||||
bgView.setPaintFlags(flag);
|
bgView.setPaintFlags(flag);
|
||||||
|
|
||||||
Long agoMsec = System.currentTimeMillis() - lastBG.date;
|
timeAgoView.setText(DateUtil.minAgo(lastBG.date));
|
||||||
int agoMin = (int) (agoMsec / 60d / 1000d);
|
|
||||||
timeAgoView.setText(String.format(MainApp.sResources.getString(R.string.minago), agoMin));
|
|
||||||
|
|
||||||
// iob
|
// iob
|
||||||
MainApp.getConfigBuilder().updateTotalIOBTreatments();
|
MainApp.getConfigBuilder().updateTotalIOBTreatments();
|
||||||
|
|
Loading…
Reference in a new issue