mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Modify comment of NativeViewHierarchyManager.java. (#25235)
Summary: Modify the wrong word in the comment of NativeViewHierarchyManager.java. Fix the explanation of the code to avoid misunderstanding. ## Changelog [Android] [Fixed] - Fix the explanation of the code to avoid misunderstanding. Pull Request resolved: https://github.com/facebook/react-native/pull/25235 Differential Revision: D15779249 Pulled By: cpojer fbshipit-source-id: d4e7baa9ea9be5551feed8f643fe9774b3226bd8
This commit is contained in:
committed by
Facebook Github Bot
parent
fb550e9e84
commit
5b72ec31ae
+1
-1
@@ -183,7 +183,7 @@ public class NativeViewHierarchyManager {
|
||||
//
|
||||
// This code is going to be executed ONLY when there is a change in the size of the Root
|
||||
// View defined in the js side. Changes in the layout of inner views will not trigger an update
|
||||
// on the layour of the Root View.
|
||||
// on the layout of the Root View.
|
||||
ViewParent parent = viewToUpdate.getParent();
|
||||
if (parent instanceof RootView) {
|
||||
parent.requestLayout();
|
||||
|
||||
Reference in New Issue
Block a user