closed #83
This commit is contained in:
@@ -22,6 +22,7 @@ class UserDefaultsStore {
|
|||||||
case contentViewHeaderTag
|
case contentViewHeaderTag
|
||||||
case contentViewHeaderTagViewOneViewType
|
case contentViewHeaderTagViewOneViewType
|
||||||
case contentViewHeaderTagViewTwoViewType
|
case contentViewHeaderTagViewTwoViewType
|
||||||
|
case currentSelectedHeaderViewViewType
|
||||||
}
|
}
|
||||||
|
|
||||||
static func getOnboarding() -> OnboardingData {
|
static func getOnboarding() -> OnboardingData {
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ struct ContentView: View {
|
|||||||
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTagViewOneViewType.rawValue, store: GroupUserDefaults.groupDefaults) private var firstSwichableHeaderViewType: MainSwitchableViewType = .total
|
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTagViewOneViewType.rawValue, store: GroupUserDefaults.groupDefaults) private var firstSwichableHeaderViewType: MainSwitchableViewType = .total
|
||||||
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTagViewTwoViewType.rawValue, store: GroupUserDefaults.groupDefaults) private var secondSwichableHeaderViewType: MainSwitchableViewType = .total
|
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTagViewTwoViewType.rawValue, store: GroupUserDefaults.groupDefaults) private var secondSwichableHeaderViewType: MainSwitchableViewType = .total
|
||||||
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTag.rawValue, store: GroupUserDefaults.groupDefaults) private var switchableViewSelectedIndex = 1
|
@AppStorage(UserDefaultsStore.Keys.contentViewHeaderTag.rawValue, store: GroupUserDefaults.groupDefaults) private var switchableViewSelectedIndex = 1
|
||||||
|
@AppStorage(UserDefaultsStore.Keys.currentSelectedHeaderViewViewType.rawValue, store: GroupUserDefaults.groupDefaults) private var currentSelectedHeaderViewViewType: MainSwitchableViewType = .total
|
||||||
//
|
//
|
||||||
|
|
||||||
// MARK: edit row properties
|
// MARK: edit row properties
|
||||||
@@ -42,7 +43,6 @@ struct ContentView: View {
|
|||||||
// MARK: header properties
|
// MARK: header properties
|
||||||
@State private var headerHeight: CGFloat = ContentViewConstants.maxHeaderHeight
|
@State private var headerHeight: CGFloat = ContentViewConstants.maxHeaderHeight
|
||||||
@State private var headerViewType: MainSwitchableViewType = .total
|
@State private var headerViewType: MainSwitchableViewType = .total
|
||||||
@State private var currentSelectedHeaderViewViewType: MainSwitchableViewType = .total
|
|
||||||
@State private var headerOpacity: Double = 1.0
|
@State private var headerOpacity: Double = 1.0
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user