Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java

Co-Authored-By: Redirion <redirion@web.de>
This commit is contained in:
Peter Hindes 2019-12-06 08:35:14 -07:00 committed by GitHub
parent 7d80d04f34
commit c05633979c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,10 @@ public class RemotePlaylistItemHolder extends PlaylistItemHolder {
// 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) {
if (item.getUploader() != null) {
itemUploaderView.setText(Localization.concatenateStrings(item.getUploader(),
NewPipe.getNameOfService(item.getServiceId())));
} else {
itemUploaderView.setText(NewPipe.getNameOfService(item.getServiceId()));
}