simplifying because of that sizing issue

This commit is contained in:
talksik
2021-12-18 18:14:54 -08:00
parent f0e6e7ca63
commit e3f16addd5
@@ -17,18 +17,10 @@ struct SplashView: View {
.resizable()
.frame(width: 50, height: 75)
.foregroundColor(Color.white)
.scaleEffect(self.scale)
.animation(.easeIn(duration: 2).repeatForever(autoreverses: true))
.ignoresSafeArea(.keyboard)
}
.ignoresSafeArea(.keyboard)
}
.frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
.background(NirvanaColor.teal)
.onAppear {
self.scale = 1.3
}
.ignoresSafeArea(.keyboard)
.edgesIgnoringSafeArea(.all)
}
}