remove unused code pt2

This commit is contained in:
Peter Hindes 2019-12-06 08:38:15 -07:00 committed by GitHub
parent 693756bdd6
commit ae88b4c697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,6 @@ public class PlaylistFragment extends BaseListInfoFragment<PlaylistInfo> {
animateView(headerUploaderLayout, true, 300);
headerUploaderLayout.setOnClickListener(null);
if (!TextUtils.isEmpty(result.getUploaderName())) { // If we have an uploader : Put them into the ui
//headerUploaderLayout.setVisibility(View.VISIBLE);
headerUploaderName.setText(result.getUploaderName());
if (!TextUtils.isEmpty(result.getUploaderUrl())) {
headerUploaderLayout.setOnClickListener(v -> {
@ -274,7 +273,7 @@ public class PlaylistFragment extends BaseListInfoFragment<PlaylistInfo> {
}
});
}
} else { // Else : hide the uploader section
} else { // Else : say we have no uploader
headerUploaderName.setText(R.string.playlist_no_uploader);
}