fix spot bugs

Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
Jonas Mayer 2024-02-14 13:36:13 +01:00 committed by Jonas Mayer
parent 044e83548d
commit 6d3b8897b3

View file

@ -367,7 +367,8 @@ public class UploadListAdapter extends SectionedRecyclerViewAdapter<SectionedVie
itemViewHolder.binding.uploadProgressBar.invalidate();
}
case UPLOAD_FAILED -> itemViewHolder.binding.uploadDate.setVisibility(View.GONE);
case UPLOAD_SUCCEEDED -> itemViewHolder.binding.uploadStatus.setVisibility(View.GONE);
case UPLOAD_SUCCEEDED, UPLOAD_MANUALLY_CANCELLED ->
itemViewHolder.binding.uploadStatus.setVisibility(View.GONE);
}
// show status if same file conflict or local file deleted or upload cancelled