Skip to content

Commit e26c038

Browse files
committed
Made some small adjustments
1 parent 135fc08 commit e26c038

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

app/src/main/java/org/schabi/newpipe/local/playlist/LocalPlaylistFragment.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -643,15 +643,9 @@ private void removeDuplicatesInPlaylist() {
643643

644644
itemListAdapter.clearStreamItemList();
645645
itemListAdapter.addItems(itemsToKeep);
646-
saveChanges();
646+
setVideoCount(itemListAdapter.getItemsList().size());
647647

648-
final long videoCount = itemListAdapter.getItemsList().size();
649-
setVideoCount(videoCount);
650-
if (videoCount == 0) {
651-
showEmptyState();
652-
}
653-
//TODO: Do we have to show loading?
654-
//hideLoading();
648+
saveChanges();
655649
}
656650

657651
private void deleteItem(final PlaylistStreamEntry item) {

0 commit comments

Comments
 (0)