From 5b72ec31ae4253cdc5e4c4a55470c02e47078e4a Mon Sep 17 00:00:00 2001 From: Charley <471705439@qq.com> Date: Wed, 12 Jun 2019 05:56:10 -0700 Subject: [PATCH] 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 --- .../facebook/react/uimanager/NativeViewHierarchyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java b/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java index 4c6c626d6e8..070d30de2eb 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/uimanager/NativeViewHierarchyManager.java @@ -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();