Skip to content

Commit

Permalink
fix: correctly parses the facing configuration option
Browse files Browse the repository at this point in the history
  • Loading branch information
demedos authored and Alessandro Diez committed Mar 16, 2023
1 parent 9646880 commit efb1a40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iOS/RCTOrientation/Orientation.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ - (void)lockToOrientation:(UIInterfaceOrientation) newOrientation usingMask:(UII
#endif

#if (!TARGET_OS_TV)
_disableFaceUpDown = [options objectForKey:@"disableFaceUpDown"] != nil;
NSNumber *disableFaceUpDown = [options objectForKey:@"disableFaceUpDown"];
_disableFaceUpDown = [disableFaceUpDown boolValue];
#endif
}

Expand Down

0 comments on commit efb1a40

Please sign in to comment.