commit | c757a1d7230a868e2579d99cd804ef324bce1ad6 | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Fri Aug 11 16:59:21 2023 +0200 |
committer | Sebastiano Barezzi <seba@sebaubuntu.dev> | Sat Aug 19 17:10:20 2023 +0200 |
tree | 900c42db0ee92c253a5aae5471601a6b27194ada | |
parent | dd81817e66f1418720d5c7099184410bf6f55409 [diff] |
Glimpse: Use thumbnail cached image as full image preview Change-Id: I87891cd8a2a687893e129cde28d5c5b3f43024dd
diff --git a/app/src/main/java/org/lineageos/glimpse/thumbnail/MediaViewerAdapter.kt b/app/src/main/java/org/lineageos/glimpse/thumbnail/MediaViewerAdapter.kt index e462ccc..f88a866 100644 --- a/app/src/main/java/org/lineageos/glimpse/thumbnail/MediaViewerAdapter.kt +++ b/app/src/main/java/org/lineageos/glimpse/thumbnail/MediaViewerAdapter.kt
@@ -95,6 +95,7 @@ this.position = position imageView.load(media.externalContentUri) { memoryCacheKey("full_${media.id}") + placeholderMemoryCacheKey("thumbnail_${media.id}") } }