make filter buttons entire width and change appearance
This commit is contained in:
@@ -184,9 +184,13 @@ struct FilterView: View {
|
|||||||
showFilter.toggle()
|
showFilter.toggle()
|
||||||
}
|
}
|
||||||
}, label: {
|
}, label: {
|
||||||
Text(showFilter ? "Close Filter" : "Filter")
|
Text(showFilter ? "Close Filters" : "Show Filters")
|
||||||
.textCase(.uppercase)
|
.frame(maxWidth: .infinity)
|
||||||
})
|
.frame(height: 44)
|
||||||
|
.foregroundColor(Color(UIColor.label))
|
||||||
|
.background(Color(UIColor.secondarySystemBackground))
|
||||||
|
.cornerRadius(25)
|
||||||
|
}).frame(maxWidth: .infinity)
|
||||||
}
|
}
|
||||||
|
|
||||||
struct StatsSubView: View {
|
struct StatsSubView: View {
|
||||||
|
|||||||
Reference in New Issue
Block a user