Merge pull request #3902 from wb9688/null-description

Check for description == null
This commit is contained in:
Tobias Groza 2020-07-18 11:54:10 +02:00 committed by GitHub
commit 2898bead66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}