Merge pull request #4163 from ByteHamster/fix-theme-switch-crash

Fixed crash when switching theme
This commit is contained in:
H. Lehmann 2020-05-16 22:27:57 +02:00 committed by GitHub
commit 62fc413f9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class ItemDescriptionFragment extends Fragment {
@Nullable
private String loadData() {
if (controller.getMedia() == null) {
if (controller != null && controller.getMedia() == null) {
return null;
}
Timeline timeline = new Timeline(getActivity(), controller.getMedia());