File tree 2 files changed +5
-5
lines changed
WordPress/Classes/WordPressData-Staging-Folder
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ open class BlogSettings: NSManagedObject {
186
186
187
187
/// Indicates whether related posts should show thumbnails.
188
188
///
189
- @NSManaged var sharingCommentLikesEnabled : Bool
189
+ @NSManaged public var sharingCommentLikesEnabled : Bool
190
190
191
191
/// Indicates whether sharing via post likes has been disabled
192
192
///
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ public struct UserSettings {
20
20
public static var userHasOptedOutOfCrashLogging : Bool
21
21
22
22
@UserDefault ( Keys . forceCrashLoggingKey. rawValue, defaultValue: false )
23
- static var userHasForcedCrashLoggingEnabled : Bool
23
+ public static var userHasForcedCrashLoggingEnabled : Bool
24
24
25
25
@NullableUserDefault ( Keys . defaultDotComUUIDKey. rawValue)
26
- static var defaultDotComUUID : String ?
26
+ public static var defaultDotComUUID : String ?
27
27
28
28
/// Reset all UserSettings back to their defaults
29
29
static func reset( ) {
@@ -69,14 +69,14 @@ public struct UserDefault<T> {
69
69
70
70
/// A property wrapper for optional UserDefaults that return `nil` by default
71
71
@propertyWrapper
72
- struct NullableUserDefault < T> {
72
+ public struct NullableUserDefault < T> {
73
73
let key : String
74
74
75
75
init ( _ key: String ) {
76
76
self . key = key
77
77
}
78
78
79
- var wrappedValue : T ? {
79
+ public var wrappedValue : T ? {
80
80
get {
81
81
return UserPersistentStoreFactory . instance ( ) . object ( forKey: key) as? T
82
82
}
You can’t perform that action at this time.
0 commit comments