Suggested Users to Follow
ui: Add Suggested Users Views and Helpers ui: Add Logic to Launch Suggested User Screen Changelog-Added: Suggested Users to Follow
This commit is contained in:
committed by
William Casarin
parent
f0de8721c7
commit
480921db20
26
damus/Components/Gradients/GrayGradient.swift
Normal file
26
damus/Components/Gradients/GrayGradient.swift
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// GrayGradient.swift
|
||||
// damus
|
||||
//
|
||||
// Created by klabo on 7/20/23.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
let GrayGradient = LinearGradient(gradient:
|
||||
Gradient(colors: [Color(#colorLiteral(red: 0.9764705882, green: 0.9803921569, blue: 0.9803921569, alpha: 1))]),
|
||||
startPoint: .leading,
|
||||
endPoint: .trailing)
|
||||
|
||||
struct GrayGradientView: View {
|
||||
var body: some View {
|
||||
GrayGradient
|
||||
.edgesIgnoringSafeArea([.top, .bottom])
|
||||
}
|
||||
}
|
||||
|
||||
struct GrayGradient_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
GrayGradientView()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user