Fixed that Divider didn't set its color correctly
This commit is contained in:
parent
53f0380302
commit
9c8fe481f8
|
@ -10,8 +10,8 @@ struct Divider: View {
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
Rectangle()
|
Rectangle()
|
||||||
|
.fill(color)
|
||||||
.frame(height: height)
|
.frame(height: height)
|
||||||
.background(color)
|
|
||||||
.listRowInsets(EdgeInsets())
|
.listRowInsets(EdgeInsets())
|
||||||
.edgesIgnoringSafeArea(.horizontal)
|
.edgesIgnoringSafeArea(.horizontal)
|
||||||
.padding(0)
|
.padding(0)
|
||||||
|
|
Loading…
Reference in New Issue