Migrate remaining calls to +[CKImageComponent newWith...] to use the builder
Summary: Last call sites for `CKImageComponent` Reviewed By: kevin0571 Differential Revision: D24161106 fbshipit-source-id: 6f4593184a772c753f4a571f628d27b0d82367c5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2e1a2e9f89
commit
41928e0e3a
@@ -83,10 +83,9 @@ static CKComponent* componentForModel(
|
||||
UIColor.cyanColor,
|
||||
}]},
|
||||
}]
|
||||
background:[CKImageComponent
|
||||
newWithImage:[UIImage imageNamed:@"sonarpattern"]
|
||||
attributes:{}
|
||||
size:{}]];
|
||||
background:CK::ImageComponentBuilder()
|
||||
.image([UIImage imageNamed:@"sonarpattern"])
|
||||
.build()];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user