Commit 08c2fd18 by david

Convert the id value to a String before comparison

parent a3451824
......@@ -568,7 +568,7 @@
for (UILocalNotification* notification in notifications)
{
NSString* notId = [notification.userInfo objectForKey:@"id"];
NSString* notId = [[notification.userInfo objectForKey:@"id"] stringValue];
if ([notId isEqualToString:id]) {
return notification;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment