change the incidents fecth text

parent 7f9f5d8c
......@@ -89,7 +89,7 @@ public class MyRequestAdapter extends BaseAdapter {
} else if (req.getApproval().equalsIgnoreCase("approved")) {
holder.approval.setText(mContext.getResources().getString (R.string.approved));
((GradientDrawable)holder.statusIndicator.getBackground()).setColor(Color.parseColor("#06D323"));
} else {
} else if (req.getApproval().equalsIgnoreCase("rejected")){
holder.approval.setText(mContext.getResources().getString (R.string.rejected));
((GradientDrawable)holder.statusIndicator.getBackground()).setColor(Color.parseColor("#FF0000"));
}
......
......@@ -34,7 +34,7 @@
<string name="failed_to_fetch_catalogue_form_string">Failed to fetch Form.</string>
<string name="failed_to_fetch_reference_string">Failed to fetch References.</string>
<string name="failed_to_submit_form_string">Failed to submit form.</string>
<string name="failed_to_fetch_incident_string">Failed to fetch Incident.</string>
<string name="failed_to_fetch_incident_string">Failed to fetch incidents.</string>
<!--Login Screen-->
<string name="login_screen_login_string">Login</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment