mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
change CachePolicy for replace to WRITE_ONLY
this seems to avoid that on a second load without to use replace, an old image from cache is loaded Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
dcb22c8909
commit
6b98a19294
@ -103,7 +103,7 @@ private fun ImageView.loadAvatarInternal(
|
||||
): io.reactivex.disposables
|
||||
.Disposable {
|
||||
val cachePolicy = if (replace) {
|
||||
CachePolicy.DISABLED
|
||||
CachePolicy.WRITE_ONLY
|
||||
} else {
|
||||
CachePolicy.ENABLED
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user