Fixed that Divider didn't set its color correctly

This commit is contained in:
dankito 2020-09-09 13:32:57 +02:00
parent 53f0380302
commit 9c8fe481f8
1 changed files with 1 additions and 1 deletions

View File

@ -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)