Fixes square loading image on Follow packs

This commit is contained in:
Vitor Pamplona
2025-07-23 08:50:14 -04:00
parent 064a732ec8
commit c221506e78

View File

@@ -76,13 +76,13 @@ fun MyAsyncImage(
} }
} else { } else {
WaitAndDisplay { WaitAndDisplay {
Box(contentAlignment = Alignment.Center) { if (onLoadingBackground != null) {
if (onLoadingBackground != null) { Box(loadedImageModifier, contentAlignment = Alignment.Center) {
onLoadingBackground() onLoadingBackground()
LoadingAnimation(Size40dp, Size6dp) LoadingAnimation(Size40dp, Size6dp)
} else {
DisplayUrlWithLoadingSymbol(imageUrl)
} }
} else {
DisplayUrlWithLoadingSymbol(imageUrl)
} }
} }
} }