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

Commit c192fb5c authored by Dmitry Nevedomsky's avatar Dmitry Nevedomsky

Fix crash when Quitting without active track set.

parent 0a99093a
......@@ -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