mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-15 20:10:30 +00:00
Update AppTheme.swift (#271)
This commit is contained in:
parent
4456eff3a1
commit
6e48fef956
1 changed files with 5 additions and 1 deletions
|
|
@ -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()
|
||||
)
|
||||
))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue