File tree Expand file tree Collapse file tree
Sources/PredicateView/Views/Model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import SwiftUI
99
10- struct PredicateAttributePreferenceKey : PreferenceKey {
11- static var defaultValue : [ UUID : AnyHashable ] ? { nil }
10+ public struct PredicateAttributePreferenceKey : PreferenceKey {
11+ public static var defaultValue : [ UUID : AnyHashable ] ? { nil }
1212
13- static func reduce( value: inout [ UUID : AnyHashable ] ? , nextValue: ( ) -> [ UUID : AnyHashable ] ? ) {
13+ public static func reduce( value: inout [ UUID : AnyHashable ] ? , nextValue: ( ) -> [ UUID : AnyHashable ] ? ) {
1414 if let nextValue = nextValue ( ) {
1515 for (k, v) in nextValue { value ? [ k] = v }
1616 }
1717 }
1818}
1919
20- struct PredicateDeletedStatusPreferenceKey : PreferenceKey {
21- static var defaultValue : Bool { false }
20+ public struct PredicateDeletedStatusPreferenceKey : PreferenceKey {
21+ public static var defaultValue : Bool { false }
2222
23- static func reduce( value: inout Bool , nextValue: ( ) -> Bool ) {
23+ public static func reduce( value: inout Bool , nextValue: ( ) -> Bool ) {
2424 value = nextValue ( )
2525 }
2626}
You can’t perform that action at this time.
0 commit comments