fix: glide in update crash

This commit is contained in:
jubb 2021-12-20 11:56:54 +11:00
parent d7dbd71568
commit 49f2c5f6f0
2 changed files with 2 additions and 1 deletions

View file

@ -155,7 +155,7 @@ dependencies {
testImplementation 'org.robolectric:shadows-multidex:4.4'
}
def canonicalVersionCode = 243
def canonicalVersionCode = 244
def canonicalVersionName = "1.12.0"
def postFixSize = 10

View file

@ -72,6 +72,7 @@ class ProfilePictureView : RelativeLayout {
}
fun update() {
if (!this::glide.isInitialized) return
val publicKey = publicKey ?: return
val additionalPublicKey = additionalPublicKey
if (additionalPublicKey != null) {