RCMountable -> CKMountable (#4522)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/4522 ^ A codemod changed the name of `CKMountable` for the OSS ComponentKit integration, this is a breaking change as we are pinned to a specific Cocoapods version of CK. Reviewed By: passy Differential Revision: D43303489 fbshipit-source-id: 4d8ad472735414ca8e67a8ce4409efe84aab3e94
This commit is contained in:
committed by
Facebook GitHub Bot
parent
362cea3126
commit
c1badd1a29
@@ -23,8 +23,8 @@
|
|||||||
static char const kLayoutWrapperKey = ' ';
|
static char const kLayoutWrapperKey = ' ';
|
||||||
|
|
||||||
static CK::Optional<CKFlexboxComponentChild> findFlexboxLayoutParams(
|
static CK::Optional<CKFlexboxComponentChild> findFlexboxLayoutParams(
|
||||||
id<RCMountable> parent,
|
id<CKMountable> parent,
|
||||||
id<RCMountable> child) {
|
id<CKMountable> child) {
|
||||||
if ([parent isKindOfClass:[CKFlexboxComponent class]]) {
|
if ([parent isKindOfClass:[CKFlexboxComponent class]]) {
|
||||||
static Ivar ivar =
|
static Ivar ivar =
|
||||||
class_getInstanceVariable([CKFlexboxComponent class], "_children");
|
class_getInstanceVariable([CKFlexboxComponent class], "_children");
|
||||||
@@ -59,7 +59,7 @@ static CK::Optional<CKFlexboxComponentChild> findFlexboxLayoutParams(
|
|||||||
return cachedWrapper;
|
return cachedWrapper;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// TODO: Add support for `RCMountable` components.
|
// TODO: Add support for `CKMountable` components.
|
||||||
CKComponent* component = (CKComponent*)layout.component;
|
CKComponent* component = (CKComponent*)layout.component;
|
||||||
CKComponentReuseWrapper* reuseWrapper =
|
CKComponentReuseWrapper* reuseWrapper =
|
||||||
CKAnalyticsListenerHelpers::GetReusedNodes(component);
|
CKAnalyticsListenerHelpers::GetReusedNodes(component);
|
||||||
|
|||||||
Reference in New Issue
Block a user