Fix animated image (#1956)

* Fix animated image

* Update PagerItem.kt
This commit is contained in:
renovate[bot] authored and GitHub committed 2024-11-20 09:51:53 +00:00
1 parent 897a56fa4a
commit 6aa0878480
1 file changed
+2 -1
@@ -95,7 +95,8 @@ fun PagerItem(
val grayScale by Settings.grayScale.collectAsState()
val invert by Settings.invertedColors.collectAsState()
Image(
painter = painter,
// DrawablePainter <: RememberObserver
painter = remember(painter) { painter },
contentDescription = null,
modifier = contentModifier.fillMaxSize(),
contentScale = contentScale,