Check for description == null
This commit is contained in:
parent
c900ef036c
commit
e028a63f30
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue