iOS:fix NSNull Crash
This commit is contained in:
parent
3eda0358d1
commit
4d6884098c
@ -138,6 +138,9 @@ - (void)blend:(NSDictionary *)props {
|
||||
self.view.layoutConfig = self.layoutConfig;
|
||||
for (NSString *key in props) {
|
||||
id value = props[key];
|
||||
if (!value || [value isKindOfClass:[NSNull class]]) {
|
||||
continue;
|
||||
}
|
||||
[self blendView:self.view forPropName:key propValue:value];
|
||||
}
|
||||
[self transformProperties];
|
||||
|
Reference in New Issue
Block a user