diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/IconFromUrl.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/IconFromUrl.kt index e2da819..d57c753 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/IconFromUrl.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/composables/IconFromUrl.kt @@ -18,7 +18,7 @@ fun IconForUrl(iconUrl: String, contentDescription: String, modifier: Modifier = val coroutineScope = rememberCoroutineScope() - if (iconUrl.endsWith(".svg") == false) { // SVG is not supported on Android + if (imageBitmap == null && iconUrl.endsWith(".svg") == false) { // SVG is not supported on Android coroutineScope.launch(Dispatchers.IOorDefault) { val received = imageCache.getImageBitmap(iconUrl)