1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Check for description == null

This commit is contained in:
wb9688 2020-07-18 10:01:44 +02:00
parent c900ef036c
commit e028a63f30

View File

@ -1018,7 +1018,7 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo>
}
private void prepareDescription(final Description description) {
if (TextUtils.isEmpty(description.getContent())
if (description == null || TextUtils.isEmpty(description.getContent())
|| description == Description.emptyDescription) {
return;
}