Don't show delete action buttons in multi-select mode

This commit is contained in:
ByteHamster 2021-09-17 22:34:51 +02:00
parent 6361ba35b3
commit ebb0c45744
1 changed files with 4 additions and 2 deletions

View File

@ -273,9 +273,11 @@ public class CompletedDownloadsFragment extends Fragment implements
@Override
public void afterBindViewHolder(EpisodeItemViewHolder holder, int pos) {
if (!inActionMode()) {
DeleteActionButton actionButton = new DeleteActionButton(getItem(pos));
actionButton.configure(holder.secondaryActionButton, holder.secondaryActionIcon, getActivity());
}
}
@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {