diff --git a/Parser/Preferences.swift b/Parser/Preferences.swift index 829f147..4570ff7 100644 --- a/Parser/Preferences.swift +++ b/Parser/Preferences.swift @@ -33,7 +33,7 @@ class Preferences: Codable { } static func setBool(key: String, value: Bool) { - sharedUserDefaults.set(value, forKey: Preferences.parameterAlignment) + sharedUserDefaults.set(value, forKey: key) sharedUserDefaults.synchronize() }