Made some small adjustments

This commit is contained in:
Jared Fantaye 2023-01-20 11:55:50 +01:00
parent 135fc08212
commit e26c038565
1 changed files with 2 additions and 8 deletions

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) {