fix(android): resolve background image visibility and local flow animations on login

This commit is contained in:
Daniel Arantes Loverde
2026-05-27 15:12:38 -03:00
parent 215d208f4f
commit be6c31832f
8 changed files with 52 additions and 91 deletions

View File

@@ -96,18 +96,12 @@ struct FeaturedStoreCard: View {
private var storeIconPlaceholder: some View {
ZStack {
#if os(Android)
AsyncImage(url: Bundle.module.url(forResource: "placeholder-product", withExtension: "png")) { phase in
if let image = phase.image {
image
.resizable()
} else {
Color.clear
}
}
.scaledToFill()
.opacity(0.7)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.clipped()
SwiftUI.Image("placeholder-product")
.resizable()
.scaledToFill()
.opacity(0.7)
.frame(maxWidth: .infinity, maxHeight: .infinity)
.clipped()
#else
Image("placeholder-product")
.resizable()