mirror of
git://jb55.com/damus
synced 2024-10-06 03:33:22 +00:00
setupview: remove damus white button implementation
This commit is contained in:
parent
548d8e49ec
commit
bf01d08ea0
@ -83,18 +83,6 @@ struct SetupView: View {
|
||||
}
|
||||
}
|
||||
|
||||
func DamusWhiteButton(_ title: String, action: @escaping () -> ()) -> some View {
|
||||
return Button(action: action) {
|
||||
Text(title)
|
||||
.frame(width: 300, height: 50)
|
||||
.font(.body.bold())
|
||||
.contentShape(Rectangle())
|
||||
.foregroundColor(.white)
|
||||
.background(
|
||||
RoundedRectangle(cornerRadius: 4.0)
|
||||
.stroke(Color.white, lineWidth: 2.0)
|
||||
.background(Color.white.opacity(0.15))
|
||||
)
|
||||
struct LearnAboutNostrLink: View {
|
||||
@Environment(\.openURL) var openURL
|
||||
var body: some View {
|
||||
|
Loading…
Reference in New Issue
Block a user