Skip to content

Commit 2b8bb06

Browse files
committed
updating commons
1 parent ba24410 commit 2b8bb06

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ContactActivity.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,18 @@ abstract class ContactActivity : SimpleActivity() {
8888
.override(wantedWidth, wantedHeight)
8989
.listener(object : RequestListener<Drawable> {
9090
override fun onResourceReady(
91-
resource: Drawable?,
92-
model: Any?,
93-
target: Target<Drawable>?,
94-
dataSource: DataSource?,
91+
resource: Drawable,
92+
model: Any,
93+
target: Target<Drawable>,
94+
dataSource: DataSource,
9595
isFirstResource: Boolean
9696
): Boolean {
9797
photoView.background = ColorDrawable(0)
9898
bottomShadow.beVisible()
9999
return false
100100
}
101101

102-
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean {
102+
override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>, isFirstResource: Boolean): Boolean {
103103
showPhotoPlaceholder(photoView)
104104
bottomShadow.beGone()
105105
return true

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ indicatorfastscroll = "4524cd0b61"
1414
#Room
1515
room = "2.6.0-alpha02"
1616
#Simple tools
17-
simple-commons = "d1629c7f1a"
17+
simple-commons = "5bba536d73"
1818
#Gradle
1919
gradlePlugins-agp = "8.1.0"
2020
#build

0 commit comments

Comments
 (0)