Fix Custom Tab Bar Offset

This commit is contained in:
Stephen 2025-08-03 03:00:17 -04:00
parent fe9e09e3d2
commit e164d0c25e

View file

@ -143,7 +143,7 @@ struct MainTabView: View {
accentColor: accentColor)
.offset(
x: isTabBarHidden ? -UIScreen.main.bounds.width : 0,
y: -20
y: -40
)
.animation(.spring(response: 0.3, dampingFraction: 0.7),
value: isTabBarHidden)