diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-16 22:27:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 22:27:57 +0200 |
commit | 62fc413f9c626f4e749d2aa9c4e2e0b7225b16cb (patch) | |
tree | 20a34c17790181b576b0e8c77758433b485d0e82 | |
parent | ed2eb509ec0c4bd13f938bb6e8ec58cfc749548e (diff) | |
parent | b4333a112946050971bc3cd88a4ad60434f4119f (diff) | |
download | AntennaPod-62fc413f9c626f4e749d2aa9c4e2e0b7225b16cb.zip |
Merge pull request #4163 from ByteHamster/fix-theme-switch-crash
Fixed crash when switching theme
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java index 04a62741c..3ae4cc648 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ItemDescriptionFragment.java @@ -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()); |