18 lines
478 B
Swift
18 lines
478 B
Swift
import SwiftUI
|
|
|
|
struct BlurFogOverlay: View {
|
|
var body: some View {
|
|
Rectangle()
|
|
.fill(
|
|
LinearGradient(
|
|
colors: [Color.clear, Theme.background.opacity(0.82), Theme.background],
|
|
startPoint: .top,
|
|
endPoint: .bottom
|
|
)
|
|
)
|
|
.background(.ultraThinMaterial)
|
|
.ignoresSafeArea(edges: .bottom)
|
|
.allowsHitTesting(false)
|
|
}
|
|
}
|