mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-06-26 15:13:00 +00:00
Missing lines added
This commit is contained in:
parent
63be3220e7
commit
912f07a1dd
@ -211,6 +211,8 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
|||||||
h.pause.setTitle(mission.unknownLength ? R.string.stop : R.string.pause);
|
h.pause.setTitle(mission.unknownLength ? R.string.stop : R.string.pause);
|
||||||
updateProgress(h);
|
updateProgress(h);
|
||||||
mPendingDownloadsItems.add(h);
|
mPendingDownloadsItems.add(h);
|
||||||
|
|
||||||
|
h.date.setText("");
|
||||||
} else {
|
} else {
|
||||||
h.progress.setMarquee(false);
|
h.progress.setMarquee(false);
|
||||||
h.status.setText("100%");
|
h.status.setText("100%");
|
||||||
@ -839,6 +841,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
|||||||
ImageView icon;
|
ImageView icon;
|
||||||
TextView name;
|
TextView name;
|
||||||
TextView size;
|
TextView size;
|
||||||
|
TextView date;
|
||||||
ProgressDrawable progress;
|
ProgressDrawable progress;
|
||||||
|
|
||||||
PopupMenu popupMenu;
|
PopupMenu popupMenu;
|
||||||
@ -869,6 +872,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
|||||||
name = itemView.findViewById(R.id.item_name);
|
name = itemView.findViewById(R.id.item_name);
|
||||||
icon = itemView.findViewById(R.id.item_icon);
|
icon = itemView.findViewById(R.id.item_icon);
|
||||||
size = itemView.findViewById(R.id.item_size);
|
size = itemView.findViewById(R.id.item_size);
|
||||||
|
date = itemView.findViewById(R.id.item_date);
|
||||||
|
|
||||||
name.setSelected(true);
|
name.setSelected(true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user