fix styles

This commit is contained in:
mac-github 2025-04-29 18:04:33 +02:00 committed by map
parent 95b1913efc
commit b05d4c4bc2

View file

@ -50,13 +50,11 @@ public class NotificationStorage {
get {
let notificationsJsonData = self.userPreferencesProvider.getObject(forKey: ALARMS_KEY)
if let notificationsJsonData {
do {
return try JSONDecoder().decode(Array<EncryptedAlarmNotification>.self, from: notificationsJsonData as! Data)
} catch {
TUTSLog("Could not schedule alarms")
}
do { return try JSONDecoder().decode(Array<EncryptedAlarmNotification>.self, from: notificationsJsonData as! Data) } catch {
TUTSLog("Could not schedule alarms")
}
}
return []
return []
}
}