mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-25 08:21:59 +01:00
Merge pull request #3929 from ByteHamster/do-not-try-to-load-null
Do not try to load image when media is null
This commit is contained in:
commit
e458641181
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user