@@ -88,7 +88,7 @@ Section withItems(OCUpload[] newItems) {
8888 new Section (Type .CURRENT , R .string .uploads_view_group_current_uploads , UploadStatus .UPLOAD_IN_PROGRESS , null , new OCUpload [0 ]),
8989 new Section (Type .FAILED , R .string .uploads_view_group_failed_uploads , UploadStatus .UPLOAD_FAILED , null , new OCUpload [0 ]),
9090 new Section (Type .CANCELLED , R .string .uploads_view_group_manually_cancelled_uploads , UploadStatus .UPLOAD_CANCELLED , null , new OCUpload [0 ]),
91- new Section (Type .FINISHED , R .string .uploads_view_upload_status_succeeded , UploadStatus .UPLOAD_SUCCEEDED , NameCollisionPolicy .ASK_USER , new OCUpload [0 ]),
91+ new Section (Type .COMPLETED , R .string .uploads_view_group_completed_uploads , UploadStatus .UPLOAD_SUCCEEDED , NameCollisionPolicy .ASK_USER , new OCUpload [0 ]),
9292 new Section (Type .SKIPPED , R .string .uploads_view_upload_status_skip , UploadStatus .UPLOAD_SUCCEEDED , NameCollisionPolicy .SKIP , new OCUpload [0 ])));
9393
9494 private UploadProgressListener uploadProgressListener ;
@@ -163,7 +163,7 @@ public void onBindHeaderViewHolder(SectionedViewHolder holder, int section, bool
163163 }});
164164
165165 switch (group .type ) {
166- case CURRENT , FINISHED -> headerViewHolder .binding .uploadListAction .setImageResource (R .drawable .ic_close );
166+ case CURRENT , COMPLETED -> headerViewHolder .binding .uploadListAction .setImageResource (R .drawable .ic_close );
167167 case CANCELLED , FAILED ->
168168 headerViewHolder .binding .uploadListAction .setImageResource (R .drawable .ic_dots_vertical );
169169
@@ -203,7 +203,7 @@ public Unit invoke() {
203203 });
204204 }
205205 }
206- case FINISHED -> {
206+ case COMPLETED -> {
207207 uploadsStorageManager .clearSuccessfulUploads ();
208208 loadUploadItemsFromDb (() -> {});
209209 }
@@ -926,7 +926,7 @@ static class ItemViewHolder extends SectionedViewHolder {
926926 }
927927
928928 enum Type {
929- CURRENT , FINISHED , FAILED , CANCELLED , SKIPPED
929+ CURRENT , COMPLETED , FAILED , CANCELLED , SKIPPED
930930 }
931931
932932 public void cancelOldErrorNotification (OCUpload upload ) {
0 commit comments