fix extendedBolusView

This commit is contained in:
Milos Kozak 2018-06-25 20:03:54 +02:00
parent 385f0c7bfe
commit 4b777f8dcc

View file

@ -1244,7 +1244,7 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
extendedBolusView.setText(extendedBolusText); extendedBolusView.setText(extendedBolusText);
} }
if (extendedBolusText.equals("")) if (extendedBolusText.equals(""))
extendedBolusView.setVisibility(View.INVISIBLE); extendedBolusView.setVisibility(shorttextmode ? View.INVISIBLE : View.GONE);
else else
extendedBolusView.setVisibility(View.VISIBLE); extendedBolusView.setVisibility(View.VISIBLE);
} }