If you have an issue with any of our projects. feel free to register.

Unverified Commit 1f3d045b authored by Christopher Snowhill's avatar Christopher Snowhill Committed by GitHub

Merge pull request #66 from nevack/nevack/fix-crash

Fix crash when Quitting without active track set.
parents 858b22d6 c192fb5c
......@@ -108,6 +108,8 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
- (NSDictionary *)fillNotificationDictionary:(PlaylistEntry *)pe status:(TrackStatus)status
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
if (pe == nil)
return dict;
[dict setObject:[[pe URL] absoluteString] forKey:TrackPath];
if ([pe title]) [dict setObject:[pe title] forKey:TrackTitle];
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