mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
remove unnecessary check
Summary: EZ check to remove unnecessary check changelog: [internal] Reviewed By: JoshuaGross Differential Revision: D25315988 fbshipit-source-id: a635ce9fd7ad50109bee55f82ccf3556cc7a4b0d
This commit is contained in:
1 parent
0959ff36d1
commit
0d3aa35a03
1 file changed
+1
-1
@@ -701,7 +701,7 @@ public class FabricUIManager implements UIManager, LifecycleEventListener {
|
||||
mDispatchViewUpdatesTime = SystemClock.uptimeMillis();
|
||||
}
|
||||
|
||||
if (shouldSchedule && mountItem != null) {
|
||||
if (shouldSchedule) {
|
||||
addMountItem(mountItem);
|
||||
if (UiThreadUtil.isOnUiThread()) {
|
||||
// We only read these flags on the UI thread.
|
||||
|
||||
Reference in new issue
Block a user