Skip to content

Commit

Permalink
EK | Change Upcoming text to Upcoming only
Browse files Browse the repository at this point in the history
  • Loading branch information
ekigamba committed Sep 21, 2017
1 parent d10ebb2 commit b2e482e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,13 +314,13 @@ private void updateRecordVaccination(VaccineViewRecordUpdateWrapper updateWrappe
recordVaccination.setBackgroundColor(context.getResources().getColor(R.color.white));
recordVaccination.setEnabled(false);
} else if (state.equals(State.UPCOMING)) {
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label) + "\n" + stateKey);
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label));
recordVaccinationText.setTextColor(context.getResources().getColor(R.color.client_list_grey));

recordVaccination.setBackgroundColor(context.getResources().getColor(R.color.white));
recordVaccination.setEnabled(false);
} else if (state.equals(State.UPCOMING_NEXT_7_DAYS)) {
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label) + "\n" + stateKey);
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label));
recordVaccinationText.setTextColor(context.getResources().getColor(R.color.client_list_grey));

recordVaccination.setBackground(context.getResources().getDrawable(R.drawable.due_vaccine_light_blue_bg));
Expand Down Expand Up @@ -349,7 +349,7 @@ private void updateRecordVaccination(VaccineViewRecordUpdateWrapper updateWrappe
recordVaccinationCheck.setImageResource(R.drawable.ic_action_check);
recordVaccinationCheck.setVisibility(View.VISIBLE);
} else {
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label) + "\n" + stateKey);
recordVaccinationText.setText(context.getResources().getString(R.string.upcoming_label));
}
recordVaccinationText.setTextColor(context.getResources().getColor(R.color.client_list_grey));

Expand Down

0 comments on commit b2e482e

Please sign in to comment.