mirror of
https://github.com/videolan/vlc-android
synced 2024-11-24 02:17:15 +08:00
Fix NPE exception
This commit is contained in:
parent
b5f51fd9c1
commit
1960458f9c
@ -591,7 +591,7 @@ public class AudioBrowserFragment extends BrowserFragment implements SwipeRefres
|
||||
mEmptyView.setVisibility(mPlaylistAdapter.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
mEmptyView.setText(R.string.noplaylist);
|
||||
} else {
|
||||
mEmptyView.setVisibility(mAudioList.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
mEmptyView.setVisibility(mAudioList == null || mAudioList.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
mEmptyView.setText(R.string.nomedia);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user