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:
David Vacca
2020-12-03 20:50:01 -08:00
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.