mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add FBRotatablePhotoPlayerView to LegacyInterop whitelist
Summary: Changelog: [internal] Reviewed By: sammy-SC Differential Revision: D21661427 fbshipit-source-id: de692015f3c6f029d2ea3f927e30d6758c0b1102
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6b64810f33
commit
6acccae980
+4
@@ -24,6 +24,10 @@ static std::string moduleNameFromComponentName(const std::string &componentName)
|
||||
if (componentName == "StickerInputView") {
|
||||
return "FBStickerInputViewManager";
|
||||
}
|
||||
|
||||
if (componentName == "FBRotatablePhotoPlayer") {
|
||||
return "FBRotatablePhotoPlayerViewManager";
|
||||
}
|
||||
std::string fbPrefix("FB");
|
||||
if (std::mismatch(fbPrefix.begin(), fbPrefix.end(), componentName.begin()).first == fbPrefix.end()) {
|
||||
// If `moduleName` has "FB" prefix.
|
||||
|
||||
Reference in New Issue
Block a user