refactor: Improve code for notification models
This commit is contained in:
@@ -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"];
|
||||
|
||||
Reference in New Issue
Block a user