1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 00:20:32 +00:00

Made some small adjustments

This commit is contained in:
Jared Fantaye 2023-01-20 11:55:50 +01:00
parent 135fc08212
commit e26c038565

View File

@ -643,15 +643,9 @@ public class LocalPlaylistFragment extends BaseLocalListFragment<List<PlaylistSt
itemListAdapter.clearStreamItemList(); itemListAdapter.clearStreamItemList();
itemListAdapter.addItems(itemsToKeep); itemListAdapter.addItems(itemsToKeep);
saveChanges(); setVideoCount(itemListAdapter.getItemsList().size());
final long videoCount = itemListAdapter.getItemsList().size(); saveChanges();
setVideoCount(videoCount);
if (videoCount == 0) {
showEmptyState();
}
//TODO: Do we have to show loading?
//hideLoading();
} }
private void deleteItem(final PlaylistStreamEntry item) { private void deleteItem(final PlaylistStreamEntry item) {