mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 12:36:24 +02:00
Fixes square loading image on Follow packs
This commit is contained in:
@@ -76,13 +76,13 @@ fun MyAsyncImage(
|
||||
}
|
||||
} else {
|
||||
WaitAndDisplay {
|
||||
Box(contentAlignment = Alignment.Center) {
|
||||
if (onLoadingBackground != null) {
|
||||
if (onLoadingBackground != null) {
|
||||
Box(loadedImageModifier, contentAlignment = Alignment.Center) {
|
||||
onLoadingBackground()
|
||||
LoadingAnimation(Size40dp, Size6dp)
|
||||
} else {
|
||||
DisplayUrlWithLoadingSymbol(imageUrl)
|
||||
}
|
||||
} else {
|
||||
DisplayUrlWithLoadingSymbol(imageUrl)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user