Doh, should of course be AND, not OR
This commit is contained in:
parent
c37507768c
commit
865db71179
@ -436,7 +436,7 @@ static int const RCTVideoUnset = -1;
|
|||||||
bool isAsset = [RCTConvert BOOL:[source objectForKey:@"isAsset"]];
|
bool isAsset = [RCTConvert BOOL:[source objectForKey:@"isAsset"]];
|
||||||
NSString *uri = [source objectForKey:@"uri"];
|
NSString *uri = [source objectForKey:@"uri"];
|
||||||
NSString *type = [source objectForKey:@"type"];
|
NSString *type = [source objectForKey:@"type"];
|
||||||
if([uri isEqualToString:@""] || [type isEqualToString:@""]) {
|
if([uri isEqualToString:@""] && [type isEqualToString:@""]) {
|
||||||
DebugLog(@"Could not find video URL in source '%@'", source);
|
DebugLog(@"Could not find video URL in source '%@'", source);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user