refactor: Improve code for notification models

This commit is contained in:
Andrea Busi
2020-09-21 09:24:58 +02:00
parent 2d0a453626
commit ce3436876d
23 changed files with 270 additions and 470 deletions
@@ -76,7 +76,7 @@
if ([[userInfo objectForKey:@"type"] isEqualToString:@"eqn"]) {
self.bestAttemptContent.sound = [UNNotificationSound soundNamed:[EQNAllertaSismica center].tonoAllarme];
self.bestAttemptContent.sound = [UNNotificationSound soundNamed:[EQNAllertaSismica sharedInstance].tonoAllarme];
NSString *intensity = [userInfo objectForKey:@"intensity"];