Do not load sets with a newer file version than the one supported.
This commit is contained in:
1 parent
7db32891ef
commit
d77bb4f1ec
1 file changed
+3
-1
@@ -93,7 +93,9 @@ NSString *SBPresetManagerUpdatedNotification = @"SBPresetManagerUpdatedNotificat
|
||||
MP42Metadata *newPreset = [unarchiver decodeObjectOfClass:[MP42Metadata class] forKey:NSKeyedArchiveRootObjectKey];
|
||||
[unarchiver finishDecoding];
|
||||
|
||||
[_presets addObject:newPreset];
|
||||
if (newPreset) {
|
||||
[_presets addObject:newPreset];
|
||||
}
|
||||
}
|
||||
@catch (NSException *exception) {
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user