Remove 'queued activities' from ComboFragment.
(cherry picked from commit 57a4449)
This commit is contained in:
parent
ad54c67c23
commit
723bcc4ee3
|
@ -35,8 +35,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
|||
private Button alertsButton;
|
||||
private Button tddsButton;
|
||||
private Button fullHistoryButton;
|
||||
private TextView queueView;
|
||||
|
||||
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
|
@ -49,7 +47,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
|||
reservoirView = (TextView) view.findViewById(R.id.combo_insulinstate);
|
||||
lastConnectionView = (TextView) view.findViewById(R.id.combo_lastconnection);
|
||||
tempBasalText = (TextView) view.findViewById(R.id.combo_temp_basal);
|
||||
queueView = (TextView) view.findViewById(R.id.combo_queue);
|
||||
|
||||
refreshButton = (Button) view.findViewById(R.id.combo_refresh_button);
|
||||
refreshButton.setOnClickListener(this);
|
||||
|
@ -210,16 +207,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
|||
}
|
||||
}
|
||||
tempBasalText.setText(tbrStr);
|
||||
|
||||
// TODO clean up & i18n or remove
|
||||
// Queued activities
|
||||
Spanned status = ConfigBuilderPlugin.getCommandQueue().spannedStatus();
|
||||
if (status.toString().equals("")) {
|
||||
queueView.setVisibility(View.GONE);
|
||||
} else {
|
||||
queueView.setVisibility(View.VISIBLE);
|
||||
queueView.setText("Queued activities:\n" + status);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -336,14 +336,6 @@
|
|||
android:layout_marginRight="20dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:background="@color/listdelimiter" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/combo_queue"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textAlignment="center" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
|
Loading…
Reference in a new issue