diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt b/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt index 20d9e81562..e20d706920 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt +++ b/app/src/main/java/com/owncloud/android/ui/adapter/GalleryAdapter.kt @@ -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(), CommonOCFileListAdapterInterface, PopupTextProvider { var files: List = mutableListOf() @@ -85,8 +81,6 @@ class GalleryAdapter( transferServiceGetter, showMetadata = false, showShareAvatar = false, - themeColorUtils, - themeDrawableUtils, viewThemeUtils ) } diff --git a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java index 633bdf43e9..b94846ec26 100644 --- a/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java +++ b/app/src/main/java/com/owncloud/android/ui/adapter/OCFileListAdapter.java @@ -181,8 +181,6 @@ public class OCFileListAdapter extends RecyclerView.Adapter = HashSet() diff --git a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java index 1b3883892b..cacaca6a4c 100644 --- a/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java +++ b/app/src/main/java/com/owncloud/android/ui/fragment/GalleryFragment.java @@ -138,8 +138,6 @@ public class GalleryFragment extends OCFileListFragment implements GalleryFragme this, preferences, mContainerActivity, - themeColorUtils, - themeDrawableUtils, viewThemeUtils); setRecyclerViewAdapter(mAdapter); diff --git a/app/src/test/java/com/owncloud/android/ui/adapter/GalleryAdapterTest.kt b/app/src/test/java/com/owncloud/android/ui/adapter/GalleryAdapterTest.kt index 96931c7ce5..59951df3ae 100644 --- a/app/src/test/java/com/owncloud/android/ui/adapter/GalleryAdapterTest.kt +++ b/app/src/test/java/com/owncloud/android/ui/adapter/GalleryAdapterTest.kt @@ -92,8 +92,6 @@ class GalleryAdapterTest { ocFileListFragmentInterface, preferences, transferServiceGetter, - themeColorUtils, - themeDrawableUtils, viewThemeUtils )