Fixed library showing null
This commit is contained in:
parent
ad2de3a828
commit
87378fc79c
2 changed files with 5 additions and 7 deletions
|
|
@ -28,8 +28,13 @@ public class RemotePlaylistItemHolder extends PlaylistItemHolder {
|
|||
|
||||
itemTitleView.setText(item.getName());
|
||||
itemStreamCountView.setText(String.valueOf(item.getStreamCount()));
|
||||
// Here is where the uploader name is set in the bookmarked playlists library
|
||||
itemUploaderView.setText(Localization.concatenateStrings(item.getUploader(),
|
||||
NewPipe.getNameOfService(item.getServiceId())));
|
||||
if (item.getUploader() == null) {
|
||||
itemUploaderView.setText(NewPipe.getNameOfService(item.getServiceId()));
|
||||
}
|
||||
|
||||
|
||||
itemBuilder.displayImage(item.getThumbnailUrl(), itemThumbnailView,
|
||||
ImageDisplayConstants.DISPLAY_PLAYLIST_OPTIONS);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue