Skip to content

Commit

Permalink
fix(ios): tiny issue of TransactionListener in UIManager (Tencent#3821)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg committed Apr 10, 2024
1 parent 6f3124c commit 316031a
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 316031a

Please sign in to comment.