add shape picker for backgrounds
This commit is contained in:
@@ -9,7 +9,7 @@ import SwiftUI
|
||||
|
||||
enum MainSwitchableViewType: Int, CaseIterable {
|
||||
case total
|
||||
case percentageCircle
|
||||
case percentageShape
|
||||
case percentage
|
||||
|
||||
func next() -> MainSwitchableViewType {
|
||||
@@ -57,7 +57,7 @@ struct SwitchableView: View {
|
||||
.padding([.leading, .trailing], -15)
|
||||
.padding([.top, .bottom], 8)
|
||||
.allowsHitTesting(false)
|
||||
case .percentageCircle:
|
||||
case .percentageShape:
|
||||
HeaderPercView(fakeData: false, backDays: daysBack, type: .circular)
|
||||
.allowsHitTesting(false)
|
||||
case .percentage:
|
||||
|
||||
Reference in New Issue
Block a user