fix: adjust speed pill position — was clipped at bottom, now 16pt above safe area
This commit is contained in:
@@ -117,7 +117,7 @@ struct MainTabView: View {
|
|||||||
.padding(.vertical, 10)
|
.padding(.vertical, 10)
|
||||||
.background(.regularMaterial, in: Capsule())
|
.background(.regularMaterial, in: Capsule())
|
||||||
.shadow(color: .black.opacity(0.15), radius: 12, y: 4)
|
.shadow(color: .black.opacity(0.15), radius: 12, y: 4)
|
||||||
.padding(.bottom, -40)
|
.padding(.bottom, 16)
|
||||||
.transition(.move(edge: .bottom).combined(with: .opacity))
|
.transition(.move(edge: .bottom).combined(with: .opacity))
|
||||||
}
|
}
|
||||||
.animation(.spring(duration: 0.3), value: isAutoScrolling)
|
.animation(.spring(duration: 0.3), value: isAutoScrolling)
|
||||||
|
|||||||
Reference in New Issue
Block a user