diff options
author | ByteHamster <info@bytehamster.com> | 2020-03-16 00:10:29 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-03-16 00:10:29 +0100 |
commit | 1b93e7ef1011e34a84d76446a6e7d5281819f6c0 (patch) | |
tree | e5fc93475fb14dd5c75ca921d68c9b02e3f46245 /app | |
parent | 03d1f41e9bd88e1920be306ef8bcd10642ce5527 (diff) | |
download | AntennaPod-1b93e7ef1011e34a84d76446a6e7d5281819f6c0.zip |
Do not try to load image when media is null
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java index cc1868321..4f8b4e971 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/CoverFragment.java @@ -120,7 +120,7 @@ public class CoverFragment extends Fragment { @Subscribe(threadMode = ThreadMode.MAIN) public void onEventMainThread(PlaybackPositionEvent event) { - if (controller == null) { + if (media == null) { return; } displayCoverImage(event.getPosition()); |