add circular type to main view top small roll up header thingy

This commit is contained in:
Trey t
2022-02-06 14:25:11 -06:00
parent 3c6adce544
commit 9ed803d9cf
2 changed files with 48 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ import Charts
struct ContentViewConstants {
static let maxHeaderHeight = 200.0
static let minHeaderHeight = 88.0
static let minHeaderHeight = 120.0
}
struct ContentView: View {
@@ -345,7 +345,7 @@ struct ContentView: View {
.opacity(headerOpacity)
VStack {
SmallRollUpHeaderView(fakeData: false, backDays: 30)
SmallRollUpHeaderView(fakeData: false, backDays: 30, type: .circular)
.background(
Color(theme.currentTheme.secondaryBGColor)
)