simplifying because of that sizing issue
This commit is contained in:
@@ -17,18 +17,10 @@ struct SplashView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 50, height: 75)
|
.frame(width: 50, height: 75)
|
||||||
.foregroundColor(Color.white)
|
.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)
|
.frame(width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height)
|
||||||
.background(NirvanaColor.teal)
|
.background(NirvanaColor.teal)
|
||||||
.onAppear {
|
|
||||||
self.scale = 1.3
|
|
||||||
}
|
|
||||||
.ignoresSafeArea(.keyboard)
|
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user