mirror of
https://github.com/tutao/tutanota.git
synced 2025-10-19 16:03:43 +00:00
fix styles
This commit is contained in:
parent
95b1913efc
commit
b05d4c4bc2
1 changed files with 4 additions and 6 deletions
|
@ -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 []
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue