mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
implement SchedulerDelegateProxy::schedulerShouldSynchronouslyUpdateViewOnUIThread (#51334)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51334 changelog: [internal] Implement schedulerShouldSynchronouslyUpdateViewOnUIThread for C++ Native Animated. This simply passes along the data. Reviewed By: zeyap Differential Revision: D74739294 fbshipit-source-id: 7ef65e0b76004b9a2f6c3353169a6aa55ebeb44e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8d3e971baa
commit
8672faef87
@@ -42,6 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
blockNativeResponder:(BOOL)blockNativeResponder
|
||||
forShadowView:(const facebook::react::ShadowView &)shadowView;
|
||||
|
||||
- (void)schedulerDidSynchronouslyUpdateViewOnUIThread:(facebook::react::Tag)reactTag props:(folly::dynamic)props;
|
||||
@end
|
||||
|
||||
/**
|
||||
|
||||
@@ -68,8 +68,8 @@ class SchedulerDelegateProxy : public SchedulerDelegate {
|
||||
|
||||
void schedulerShouldSynchronouslyUpdateViewOnUIThread(facebook::react::Tag tag, const folly::dynamic &props) override
|
||||
{
|
||||
// Does nothing.
|
||||
// This delegate method is not currently used on iOS.
|
||||
RCTScheduler *scheduler = (__bridge RCTScheduler *)scheduler_;
|
||||
[scheduler.delegate schedulerDidSynchronouslyUpdateViewOnUIThread:tag props:props];
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user