Fix thumbnails not updating in grid view (#741)
* Fix 7735237 ("Remember ImageRequest")
* Refine
This commit is contained in:
1 parent
14810b4c2c
commit
a2883840e0
1 file changed
+1
-1
@@ -19,7 +19,7 @@ import com.hippo.ehviewer.ui.tools.shouldCrop
|
||||
@Composable
|
||||
fun requestOf(model: GalleryInfo): ImageRequest {
|
||||
val context = LocalContext.current
|
||||
return remember { context.imageRequest(model) }
|
||||
return remember(model) { context.imageRequest(model) }
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Reference in new issue
Block a user