Commit 865db711 authored by Niklas Saers's avatar Niklas Saers
Browse files

Doh, should of course be AND, not OR

parent c3750776
Loading
Loading
Loading
Loading
+1 −1
Changes for ios/Video/RCTVideo.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ static int const RCTVideoUnset = -1;
  bool isAsset = [RCTConvert BOOL:[source objectForKey:@"isAsset"]];
  NSString *uri = [source objectForKey:@"uri"];
  NSString *type = [source objectForKey:@"type"];
  if([uri isEqualToString:@""] || [type isEqualToString:@""]) {
  if([uri isEqualToString:@""] && [type isEqualToString:@""]) {
    DebugLog(@"Could not find video URL in source '%@'", source);
    return;
  }