Update app/src/main/java/org/schabi/newpipe/fragments/list/BaseListInfoFragment.java

This commit is contained in:
Stypox 2023-08-06 10:07:13 +02:00 committed by GitHub
parent 32f74273f0
commit bef79e77aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -257,7 +257,8 @@ public abstract class BaseListInfoFragment<I extends InfoItem, L extends ListInf
@Override
public void showEmptyState() {
// show "no live streams" for live stream kiosk; otherwise no videos.
// show "no streams" for SoundCloud; otherwise "no videos"
// showing "no live streams" is handled in KioskFragment
if (emptyStateView != null) {
if (currentInfo.getService() == SoundCloud) {
setEmptyStateMessage(R.string.no_streams);