mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +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:
committed by
Facebook GitHub Bot
parent
0959ff36d1
commit
0d3aa35a03
@@ -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