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

@@ -26,17 +26,11 @@ struct OtpView: View {
ScrollView {
VStack(spacing: 0) {
#if os(Android)
AsyncImage(url: Bundle.module.url(forResource: "pedifoods", withExtension: "png")) { phase in
if let image = phase.image {
image
.resizable()
} else {
Color.clear
}
}
.scaledToFit()
.frame(width: 74, height: 74)
.padding(.top, 140)
SwiftUI.Image("pedifoods")
.resizable()
.scaledToFit()
.frame(width: 74, height: 74)
.padding(.top, 140)
#else
SwiftUI.Image("pedifoods")
.resizable()