Made some small adjustments

pull/9707/head
Jared Fantaye 2023-01-20 11:55:50 +01:00
rodzic 135fc08212
commit e26c038565
1 zmienionych plików z 2 dodań i 8 usunięć

Wyświetl plik

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