1
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-27 06:33:39 +01: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.addItems(itemsToKeep);
saveChanges();
setVideoCount(itemListAdapter.getItemsList().size());
final long videoCount = itemListAdapter.getItemsList().size();
setVideoCount(videoCount);
if (videoCount == 0) {
showEmptyState();
}
//TODO: Do we have to show loading?
//hideLoading();
saveChanges();
}
private void deleteItem(final PlaylistStreamEntry item) {