LeoNatan/LNNotificationsUI

LNNotificationCenter invalid cast the notification settings from userdefaults as NSDictionary instead of NSMutableDictionary

ItamarM opened this issue · 1 comments

In LNNotificationCenter.m

// While _notificationSettings type is NSMutableDictionary the following method will return NSDictionary
_notificationSettings = [[NSUserDefaults standardUserDefaults] valueForKey:_LNSettingsKey];
if(_notificationSettings == nil)
{
_notificationSettings = [NSMutableDictionary new];
}

Thanks for reporting! I will take a look soon.