mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fix for m3 after rebase
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
2513d07821
commit
53e091fc68
2 changed files with 4 additions and 10 deletions
|
@ -55,9 +55,7 @@ class GalleryFragmentIT : AbstractIT() {
|
|||
createImage(1, true, 700, 300)
|
||||
createImage(2, true, 500, 300)
|
||||
|
||||
|
||||
createImage(7, true, 300, 400)
|
||||
|
||||
}
|
||||
|
||||
@After
|
||||
|
|
|
@ -45,8 +45,8 @@ import com.owncloud.android.ui.fragment.SearchType
|
|||
import com.owncloud.android.ui.interfaces.OCFileListFragmentInterface
|
||||
import com.owncloud.android.utils.BitmapUtils
|
||||
import com.owncloud.android.utils.DisplayUtils
|
||||
import com.owncloud.android.utils.theme.ViewThemeUtils
|
||||
import com.owncloud.android.utils.MimeTypeUtil
|
||||
import com.owncloud.android.utils.theme.ViewThemeUtils
|
||||
|
||||
@Suppress("LongParameterList", "TooManyFunctions")
|
||||
class OCFileListDelegate(
|
||||
|
@ -117,8 +117,7 @@ class OCFileListDelegate(
|
|||
asyncGalleryTasks,
|
||||
context,
|
||||
shimmer,
|
||||
themeColorUtils,
|
||||
themeDrawableUtils,
|
||||
viewThemeUtils,
|
||||
galleryRowHolder,
|
||||
width
|
||||
)
|
||||
|
@ -135,8 +134,7 @@ class OCFileListDelegate(
|
|||
asyncTasks: MutableList<GalleryImageGenerationTask>,
|
||||
context: Context,
|
||||
shimmerThumbnail: LoaderImageView?,
|
||||
themeColorUtils: ThemeColorUtils?,
|
||||
themeDrawableUtils: ThemeDrawableUtils?,
|
||||
viewThemeUtils: ViewThemeUtils,
|
||||
galleryRowHolder: GalleryRowHolder,
|
||||
width: Int
|
||||
) {
|
||||
|
@ -159,10 +157,8 @@ class OCFileListDelegate(
|
|||
var drawable = MimeTypeUtil.getFileTypeIcon(
|
||||
file.mimeType,
|
||||
file.fileName,
|
||||
user,
|
||||
context,
|
||||
themeColorUtils,
|
||||
themeDrawableUtils
|
||||
viewThemeUtils
|
||||
)
|
||||
if (drawable == null) {
|
||||
drawable = ResourcesCompat.getDrawable(
|
||||
|
|
Loading…
Reference in a new issue