mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-30 19:33:27 +02:00
Fixes square loading image on Follow packs
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user