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:
parent
135fc08212
commit
e26c038565
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user