Update dependencies

This commit is contained in:
Matthieu 2023-12-21 13:52:51 +01:00
parent 3fdb7762b6
commit 4008d2a2fc
2 changed files with 6 additions and 6 deletions

View File

@ -197,7 +197,7 @@ dependencies {
implementation project(path: ':scrambler')
implementation project(path: ':pixel_common')
implementation('com.github.bumptech.glide:glide:4.14.2') {
implementation('com.github.bumptech.glide:glide:4.16.0') {
exclude group: "com.android.support"
}
@ -206,7 +206,7 @@ dependencies {
// Excludes the support library because it's already included by Glide.
transitive = false
}
implementation 'com.github.bumptech.glide:annotations:4.14.2'
implementation 'com.github.bumptech.glide:annotations:4.16.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
ksp 'com.github.bumptech.glide:ksp:4.14.2'

View File

@ -105,15 +105,15 @@ class StoriesActivity: BaseActivity() {
override fun onLoadFailed(
e: GlideException?,
model: Any?,
target: Target<Drawable>?,
target: Target<Drawable>,
isFirstResource: Boolean,
): Boolean = false
override fun onResourceReady(
resource: Drawable?,
m: Any?,
resource: Drawable,
model: Any,
target: Target<Drawable>?,
dataSource: DataSource?,
dataSource: DataSource,
isFirstResource: Boolean,
): Boolean {
Glide.with(binding.storyImage)