Merge pull request #3902 from wb9688/null-description

Check for description == null
pull/3920/head
Tobias Groza 2020-07-18 11:54:10 +02:00 zatwierdzone przez GitHub
commit 2898bead66
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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