less rounded corners on UI

This commit is contained in:
Trey t
2022-02-04 17:09:15 -06:00
parent bcfa63e914
commit b4636ebd2b
6 changed files with 29 additions and 27 deletions

View File

@@ -49,7 +49,7 @@ struct FilterView: View {
statsView
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 120, maxHeight: 120)
.cornerRadius(25)
.cornerRadius(10)
.padding([.leading, .trailing])
Text(String(localized: "filter_view_total") + ": \(self.viewModel.numberOfRatings)")
@@ -81,7 +81,7 @@ struct FilterView: View {
.frame(height: 44)
.foregroundColor(Color(UIColor.label))
.background(Color(theme.secondaryBGColor))
.cornerRadius(25)
.cornerRadius(10)
}).frame(maxWidth: .infinity)
}
@@ -112,7 +112,7 @@ struct FilterView: View {
}
}
}
.cornerRadius(25)
.cornerRadius(10)
.padding()
}
@@ -131,7 +131,7 @@ struct FilterView: View {
.padding()
}
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 44, maxHeight: 44)
.cornerRadius(25)
.cornerRadius(10)
.padding([.leading, .trailing])
ZStack {
@@ -146,7 +146,7 @@ struct FilterView: View {
.padding()
}
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 44, maxHeight: 44)
.cornerRadius(25)
.cornerRadius(10)
.padding([.leading, .trailing])
ZStack {
@@ -173,7 +173,7 @@ struct FilterView: View {
}
}
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 44, maxHeight: 44)
.cornerRadius(25)
.cornerRadius(10)
.padding([ .leading, .trailing])
}
filterButon
@@ -193,7 +193,7 @@ struct FilterView: View {
private var gridView: some View {
VStack {
monthsHeader
.cornerRadius(25)
.cornerRadius(10)
.padding([.leading, .trailing])
VStack {
@@ -206,7 +206,7 @@ struct FilterView: View {
.background(
Color(theme.secondaryBGColor)
)
.cornerRadius(25)
.cornerRadius(10)
}
}
.simultaneousGesture(DragGesture().onChanged({ _ in
@@ -235,7 +235,7 @@ struct FilterView: View {
}
.padding([.leading, .trailing, .top, .bottom])
}
.cornerRadius(25)
.cornerRadius(10)
}
}