hide label too
This commit is contained in:
parent
bd0ff991dd
commit
05d9f16031
|
@ -1002,9 +1002,10 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
boolean showPrediction = showPredictionView.isChecked() && finalLastRun != null && finalLastRun.constraintsProcessed.getClass().equals(DetermineBasalResultAMA.class);
|
||||
if (MainApp.getSpecificPlugin(OpenAPSAMAPlugin.class) != null && MainApp.getSpecificPlugin(OpenAPSAMAPlugin.class).isEnabled(PluginBase.APS)) {
|
||||
showPredictionView.setVisibility(View.VISIBLE);
|
||||
getActivity().findViewById(R.id.overview_showprediction_label).setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
showPredictionView.setVisibility(View.GONE);
|
||||
}
|
||||
getActivity().findViewById(R.id.overview_showprediction_label).setVisibility(View.GONE); }
|
||||
|
||||
// ****** GRAPH *******
|
||||
|
||||
|
|
|
@ -304,6 +304,7 @@
|
|||
android:paddingTop="5dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/overview_showprediction_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
|
|
Loading…
Reference in a new issue