show all issues and prs
This commit is contained in:
parent
6e02fc1827
commit
d922c21f70
|
@ -168,12 +168,12 @@ public class ClosedIssuesAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
|
||||||
final String locale = tinyDb.getString("locale");
|
final String locale = tinyDb.getString("locale");
|
||||||
final String timeFormat = tinyDb.getString("dateFormat");
|
final String timeFormat = tinyDb.getString("dateFormat");
|
||||||
|
|
||||||
if(issuesModel.getPull_request() != null) {
|
/*if(issuesModel.getPull_request() != null) {
|
||||||
if (issuesModel.getPull_request().isMerged()) {
|
if (issuesModel.getPull_request().isMerged()) {
|
||||||
relativeLayoutFrame.setVisibility(View.GONE);
|
relativeLayoutFrame.setVisibility(View.GONE);
|
||||||
relativeLayoutFrame.setLayoutParams(new RecyclerView.LayoutParams(0, 0));
|
relativeLayoutFrame.setLayoutParams(new RecyclerView.LayoutParams(0, 0));
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (!issuesModel.getUser().getFull_name().equals("")) {
|
if (!issuesModel.getUser().getFull_name().equals("")) {
|
||||||
issueAssigneeAvatar.setOnClickListener(new ClickListener(context.getResources().getString(R.string.issueCreator) + issuesModel.getUser().getFull_name(), context));
|
issueAssigneeAvatar.setOnClickListener(new ClickListener(context.getResources().getString(R.string.issueCreator) + issuesModel.getUser().getFull_name(), context));
|
||||||
|
|
|
@ -168,12 +168,12 @@ public class IssuesAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
final String locale = tinyDb.getString("locale");
|
final String locale = tinyDb.getString("locale");
|
||||||
final String timeFormat = tinyDb.getString("dateFormat");
|
final String timeFormat = tinyDb.getString("dateFormat");
|
||||||
|
|
||||||
if(issuesModel.getPull_request() != null) {
|
/*if(issuesModel.getPull_request() != null) {
|
||||||
if (!issuesModel.getPull_request().isMerged()) {
|
if (!issuesModel.getPull_request().isMerged()) {
|
||||||
relativeLayoutFrame.setVisibility(View.GONE);
|
relativeLayoutFrame.setVisibility(View.GONE);
|
||||||
relativeLayoutFrame.setLayoutParams(new RecyclerView.LayoutParams(0, 0));
|
relativeLayoutFrame.setLayoutParams(new RecyclerView.LayoutParams(0, 0));
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (!issuesModel.getUser().getFull_name().equals("")) {
|
if (!issuesModel.getUser().getFull_name().equals("")) {
|
||||||
issueAssigneeAvatar.setOnClickListener(new ClickListener(context.getResources().getString(R.string.issueCreator) + issuesModel.getUser().getFull_name(), context));
|
issueAssigneeAvatar.setOnClickListener(new ClickListener(context.getResources().getString(R.string.issueCreator) + issuesModel.getUser().getFull_name(), context));
|
||||||
|
|
Loading…
Reference in New Issue