Fixed typo

This commit is contained in:
Abdelilah El Aissaoui 2023-02-19 01:00:35 +01:00
parent 8a2f4f63af
commit 5076621ee3
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -300,13 +300,13 @@ private fun StaticImage(tempImagePath: String) {
} }
@Composable @Composable
private fun AnimatedImage(iamgePath: String) { private fun AnimatedImage(imagePath: String) {
Image( Image(
bitmap = loadOrNull(iamgePath) { loadAnimatedImage(iamgePath) }?.animate() ?: ImageBitmap.Blank, bitmap = loadOrNull(imagePath) { loadAnimatedImage(imagePath) }?.animate() ?: ImageBitmap.Blank,
contentDescription = null, contentDescription = null,
modifier = Modifier.fillMaxSize() modifier = Modifier.fillMaxSize()
.handMouseClickable { .handMouseClickable {
openFileWithExternalApp(iamgePath) openFileWithExternalApp(imagePath)
} }
) )
} }