1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Fix inconsistent style

This commit is contained in:
Kamil Szczęk 2019-12-11 15:56:04 +01:00
parent b18236a27e
commit cfad3fb5de

View File

@ -559,7 +559,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
public void clearFinishedDownloads(boolean delete) {
if (delete && mIterator.hasFinishedMissions()) {
for(int i=0; i<mIterator.getOldListSize(); i++) {
for (int i = 0; i < mIterator.getOldListSize(); i++) {
FinishedMission mission = mIterator.getItem(i).mission instanceof FinishedMission ? (FinishedMission) mIterator.getItem(i).mission : null;
if (mission != null) {
mDownloadManager.deleteMission(mission);