Update AppTheme.swift (#271)

This commit is contained in:
J_W_I_ 2025-10-07 06:42:18 +11:00 • committed by GitHub
parent 4456eff3a1
commit 6e48fef956
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,6 +217,10 @@ private struct AnimatedGradientBackground: View {
let gradientColors = colors.ensureMinimumCount()
Rectangle()
.fill(.ultraThinMaterial)
.ignoresSafeArea(edges: .top)
.ignoresSafeArea(edges: .bottom)
.background(Rectangle()
.fill(
AngularGradient(colors: gradientColors + [gradientColors.first!], center: .center, angle: .degrees(0))
)
@ -227,7 +231,7 @@ private struct AnimatedGradientBackground: View {
.overlay(
LinearGradient(colors: [.black.opacity(0.25), .clear], startPoint: .top, endPoint: .bottom)
.ignoresSafeArea()
)
))
}
}
}