Skip to content

Commit a73adda

Browse files
cleanup
1 parent e7e8634 commit a73adda

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/react-native/React/Fabric/Mounting/ComponentViews/View/RCTBackgroundImageURLLoader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
*/
77

88
#import <UIKit/UIKit.h>
9-
9+
#import <React/RCTImageResponseDelegate.h>
1010
#import <react/renderer/components/view/ViewShadowNode.h>
1111

1212
NS_ASSUME_NONNULL_BEGIN
1313

14-
@protocol RCTBackgroundImageURLLoaderDelegate <NSObject>
14+
@protocol RCTBackgroundImageURLLoaderDelegate <RCTImageResponseDelegate>
1515

1616
- (void)backgroundImagesDidLoad;
1717

packages/react-native/React/Fabric/Mounting/ComponentViews/View/RCTBackgroundImageURLLoader.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#import "RCTBackgroundImageURLLoader.h"
99

10-
#import <React/RCTImageResponseDelegate.h>
1110
#import <React/RCTLog.h>
1211
#import <React/RCTImageResponseObserverProxy.h>
1312
#import <react/renderer/components/view/ViewState.h>
@@ -17,9 +16,6 @@
1716

1817
using namespace facebook::react;
1918

20-
@interface RCTBackgroundImageURLLoader () <RCTImageResponseDelegate>
21-
@end
22-
2319
@implementation RCTBackgroundImageURLLoader {
2420
ViewShadowNode::ConcreteState::Shared _state;
2521
std::map<std::string, RCTImageResponseObserverProxy> _uriToObserver;

0 commit comments

Comments
 (0)