File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
packages/react-native/React Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ NS_ASSUME_NONNULL_BEGIN
65
65
66
66
- (nullable RCTFabricSurface *)surfaceForRootTag : (ReactTag)rootTag ;
67
67
68
- - (BOOL )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props ;
68
+ - (void )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props ;
69
69
70
70
- (void )setupAnimationDriverWithSurfaceHandler : (const facebook::react::SurfaceHandler &)surfaceHandler ;
71
71
Original file line number Diff line number Diff line change @@ -148,28 +148,27 @@ - (UIView *)findComponentViewWithTag_DO_NOT_USE_DEPRECATED:(NSInteger)tag
148
148
return componentView;
149
149
}
150
150
151
- - (BOOL )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props
151
+ - (void )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props
152
152
{
153
153
RCTScheduler *scheduler = [self scheduler ];
154
154
if (!scheduler) {
155
- return NO ;
155
+ return ;
156
156
}
157
157
158
158
ReactTag tag = [reactTag integerValue ];
159
159
UIView<RCTComponentViewProtocol> *componentView =
160
160
[_mountingManager.componentViewRegistry findComponentViewWithTag: tag];
161
161
if (componentView == nil ) {
162
- return NO ; // This view probably isn't managed by Fabric
162
+ return ; // This view probably isn't managed by Fabric
163
163
}
164
164
ComponentHandle handle = [[componentView class ] componentDescriptorProvider ].handle ;
165
165
auto *componentDescriptor = [scheduler findComponentDescriptorByHandle_DO_NOT_USE_THIS_IS_BROKEN: handle];
166
166
167
167
if (!componentDescriptor) {
168
- return YES ;
168
+ return ;
169
169
}
170
170
171
171
[_mountingManager synchronouslyUpdateViewOnUIThread: tag changedProps: props componentDescriptor: *componentDescriptor];
172
- return YES ;
173
172
}
174
173
175
174
- (void )setupAnimationDriverWithSurfaceHandler : (const facebook::react::SurfaceHandler &)surfaceHandler
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
32
32
- (id <RCTSurfaceProtocol>)createFabricSurfaceForModuleName : (NSString *)moduleName
33
33
initialProperties : (NSDictionary *)initialProperties ;
34
34
- (nullable UIView *)findComponentViewWithTag_DO_NOT_USE_DEPRECATED : (NSInteger )tag ;
35
- - (BOOL )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props ;
35
+ - (void )synchronouslyUpdateViewOnUIThread : (NSNumber *)reactTag props : (NSDictionary *)props ;
36
36
- (void )addObserver : (id <RCTSurfacePresenterObserver>)observer ;
37
37
- (void )removeObserver : (id <RCTSurfacePresenterObserver>)observer ;
38
38
You can’t perform that action at this time.
0 commit comments