We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1228637 commit 1884188Copy full SHA for 1884188
1 file changed
Classes/ManagedAppConfig.swift
@@ -82,7 +82,7 @@ public class ManagedAppConfig {
82
83
public func updateValue(_ value: Any, forKey: String) {
84
if var myAppConfigFeedback = UserDefaults.standard.dictionary(forKey: kFeedbackKey) {
85
- myAppConfigFeedback[value] = value
+ myAppConfigFeedback[forKey] = value
86
UserDefaults.standard.set(myAppConfigFeedback, forKey: kFeedbackKey)
87
} else {
88
// there was no dictionary at all, create one and place the key/value pair in it
0 commit comments