Update notification service

This commit is contained in:
Ali
2021-02-19 19:07:31 +04:00
parent c2ef0d70a7
commit 2d2f434b20
8 changed files with 72 additions and 10 deletions

View File

@@ -157,7 +157,7 @@ static void reportMemory() {
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
if (_rootPath == nil) {
_bestAttemptContent = request.content;
_bestAttemptContent = (UNMutableNotificationContent *)[request.content mutableCopy];
[self completeWithBestAttemptContent];
return;
}