Skip to content

Commit

Permalink
fix(ios): tiny issue of TransactionListener in UIManager (#3821)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg authored Apr 10, 2024
1 parent c2b3cf9 commit d62d926
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renderer/native/ios/renderer/HippyUIManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,8 @@ - (void)layoutAndMountOnRootNode:(std::weak_ptr<RootNode>)rootNode {
}];
}
[self addUIBlock:^(HippyUIManager *uiManager, __unused NSDictionary<NSNumber *, UIView *> *viewRegistry) {
for (id<HippyComponent> node in uiManager->_componentTransactionListeners) {
NSArray *transactionListeners = [uiManager->_componentTransactionListeners allObjects];
for (id<HippyComponent> node in transactionListeners) {
[node hippyBridgeDidFinishTransaction];
}
}];
Expand Down

0 comments on commit d62d926

Please sign in to comment.