on main view top graph take away leading and trailing padding
This commit is contained in:
@@ -19,6 +19,8 @@ struct SwitchableView: View {
|
||||
ZStack {
|
||||
HeaderStatsView(fakeData: false, backDays: daysBack)
|
||||
.opacity(currentViewIdx == 0 ? 1 : 0)
|
||||
.padding([.leading, .trailing], -20)
|
||||
.padding([.top, .bottom], 8)
|
||||
.allowsHitTesting(false)
|
||||
|
||||
HeaderPercView(fakeData: false, backDays: daysBack, type: .circular)
|
||||
|
||||
Reference in New Issue
Block a user