diff --git a/iGlance/iGlance/iGlance/UserSettings.swift b/iGlance/iGlance/iGlance/UserSettings.swift index 025aef0..f9c52e1 100644 --- a/iGlance/iGlance/iGlance/UserSettings.swift +++ b/iGlance/iGlance/iGlance/UserSettings.swift @@ -176,7 +176,7 @@ struct BatterySettings: Codable { self.showPercentage = decodedShowPercentage } - if let decodedLowBatteryNotification = try? container.decodeIfPresent(BatteryNotificationSettings.self, forKey: .highBatteryNotification) { + if let decodedLowBatteryNotification = try? container.decodeIfPresent(BatteryNotificationSettings.self, forKey: .lowBatteryNotification) { self.lowBatteryNotification = decodedLowBatteryNotification }