Commit 51ab033d authored by Preetam Ozarde's avatar Preetam Ozarde

Codacy changes

parent cbc3a595
...@@ -591,11 +591,9 @@ public class FileComplaintFragment extends Fragment { ...@@ -591,11 +591,9 @@ public class FileComplaintFragment extends Fragment {
tagView.addTags(tags); tagView.addTags(tags);
for (int i = 0; i < tagList2.size(); i++){ for (int i = 0; i < tagList2.size(); i++){
if (userAddedTag == true){ if (userAddedTag && tagList2.get(i).getName() == cs)
if (tagList2.get(i).getName() == cs)
tagList2.get(i).setName(cs + " (U)"); tagList2.get(i).setName(cs + " (U)");
} }
}
} else { } else {
linearLayoutScrollTags.setVisibility(View.INVISIBLE); linearLayoutScrollTags.setVisibility(View.INVISIBLE);
linearLayoutScrollTags.setVisibility(View.GONE); linearLayoutScrollTags.setVisibility(View.GONE);
......
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 to comment