Skip to content

Commit de6cdc4

Browse files
karanjthakkarfacebook-github-bot
authored andcommitted
Rename RCTImageCacheDelegate -> RCTImageCache in code comment (facebook#22406)
Summary: Update reference to property in code comment in `RCTImageLoader`. There is no protocol named `RCTImageCacheDelegate` in the codebase. Its just `RCTImageCache` and it exists [here](https://github.com/facebook/react-native/blob/f2894e58cf6d1c30975b670f5abf3aaa8d345ed1/Libraries/Image/RCTImageLoader.h#L22). Pull Request resolved: facebook#22406 Differential Revision: D13373793 Pulled By: cpojer fbshipit-source-id: b5edf18ebad626bf09648c079299e5acd14ba48a
1 parent e8a6cb5 commit de6cdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Image/RCTImageLoader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ typedef dispatch_block_t RCTImageLoaderCancellationBlock;
140140

141141
/**
142142
* Allows developers to set their own caching implementation for
143-
* decoded images as long as it conforms to the RCTImageCacheDelegate
143+
* decoded images as long as it conforms to the RCTImageCache
144144
* protocol. This method should be called in bridgeDidInitializeModule.
145145
*/
146146
- (void)setImageCache:(id<RCTImageCache>)cache;

0 commit comments

Comments
 (0)