Skip to content

Commit a896a59

Browse files
authored
Fix mutable access when using Prephirencable
1 parent bc7abac commit a896a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Prephirencable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public extension Prephirencable {
2020
return "\(self)".lowercasingFirst + "."
2121
}
2222
static var parent: PreferencesType {
23-
return Prephirences.sharedInstance
23+
return Prephirences.sharedMutableInstance ?? Prephirences.sharedInstance
2424
}
2525
static var instance: PreferencesType {
2626
return ProxyPreferences(preferences: parent, key: key)

0 commit comments

Comments
 (0)