OCFileListDelegate: remove unused theme utils

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey 2022-09-15 21:00:46 +02:00
parent efaad0a6da
commit 6ae4ac22e7
No known key found for this signature in database
GPG key ID: 2585783189A62105
5 changed files with 0 additions and 16 deletions

View file

@ -49,8 +49,6 @@ import com.owncloud.android.utils.DisplayUtils
import com.owncloud.android.utils.FileSortOrder
import com.owncloud.android.utils.FileStorageUtils
import com.owncloud.android.utils.MimeTypeUtil
import com.owncloud.android.utils.theme.ThemeColorUtils
import com.owncloud.android.utils.theme.ThemeDrawableUtils
import com.owncloud.android.utils.theme.newm3.ViewThemeUtils
import me.zhanghai.android.fastscroll.PopupTextProvider
import java.util.Calendar
@ -63,8 +61,6 @@ class GalleryAdapter(
ocFileListFragmentInterface: OCFileListFragmentInterface,
preferences: AppPreferences,
transferServiceGetter: ComponentsGetter,
themeColorUtils: ThemeColorUtils,
themeDrawableUtils: ThemeDrawableUtils,
viewThemeUtils: ViewThemeUtils
) : SectionedRecyclerViewAdapter<SectionedViewHolder>(), CommonOCFileListAdapterInterface, PopupTextProvider {
var files: List<GalleryItems> = mutableListOf()
@ -85,8 +81,6 @@ class GalleryAdapter(
transferServiceGetter,
showMetadata = false,
showShareAvatar = false,
themeColorUtils,
themeDrawableUtils,
viewThemeUtils
)
}

View file

@ -181,8 +181,6 @@ public class OCFileListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
.getCapability(activity)
.getVersion()
.isShareesOnDavSupported(),
themeColorUtils,
themeDrawableUtils,
viewThemeUtils);
// initialise thumbnails cache on background thread

View file

@ -34,8 +34,6 @@ import com.owncloud.android.ui.activity.ComponentsGetter
import com.owncloud.android.ui.fragment.SearchType
import com.owncloud.android.ui.interfaces.OCFileListFragmentInterface
import com.owncloud.android.utils.DisplayUtils
import com.owncloud.android.utils.theme.ThemeColorUtils
import com.owncloud.android.utils.theme.ThemeDrawableUtils
import com.owncloud.android.utils.theme.newm3.ViewThemeUtils
@Suppress("LongParameterList", "TooManyFunctions")
@ -50,8 +48,6 @@ class OCFileListDelegate(
private val transferServiceGetter: ComponentsGetter,
private val showMetadata: Boolean,
private var showShareAvatar: Boolean,
private var themeColorUtils: ThemeColorUtils,
private var themeDrawableUtils: ThemeDrawableUtils,
private var viewThemeUtils: ViewThemeUtils
) {
private val checkedFiles: MutableSet<OCFile> = HashSet()

View file

@ -138,8 +138,6 @@ public class GalleryFragment extends OCFileListFragment implements GalleryFragme
this,
preferences,
mContainerActivity,
themeColorUtils,
themeDrawableUtils,
viewThemeUtils);
setRecyclerViewAdapter(mAdapter);

View file

@ -92,8 +92,6 @@ class GalleryAdapterTest {
ocFileListFragmentInterface,
preferences,
transferServiceGetter,
themeColorUtils,
themeDrawableUtils,
viewThemeUtils
)