diff --git a/android/app/src/main/java/com/expensify/chat/bootsplash/BootSplashModule.java b/android/app/src/main/java/com/expensify/chat/bootsplash/BootSplashModule.java index 7498fa6594fb..63d7d5be27b0 100644 --- a/android/app/src/main/java/com/expensify/chat/bootsplash/BootSplashModule.java +++ b/android/app/src/main/java/com/expensify/chat/bootsplash/BootSplashModule.java @@ -23,6 +23,8 @@ import com.facebook.react.common.ReactConstants; import com.facebook.react.module.annotations.ReactModule; import com.facebook.react.uimanager.PixelUtil; +import com.oblador.performance.RNPerformance; + import java.lang.reflect.Field; import java.util.HashMap; import java.util.Map; @@ -171,6 +173,7 @@ public void run() { public void onDismiss(DialogInterface dialog) { mDialog = null; clearPromiseQueue(); + RNPerformance.getInstance().mark("sidebar_loaded_end", false); } }); diff --git a/src/libs/actions/App.ts b/src/libs/actions/App.ts index 768dc530cc51..0da89a158723 100644 --- a/src/libs/actions/App.ts +++ b/src/libs/actions/App.ts @@ -125,7 +125,6 @@ function setSidebarLoaded() { } Onyx.set(ONYXKEYS.IS_SIDEBAR_LOADED, true); - Performance.markEnd(CONST.TIMING.SIDEBAR_LOADED); Performance.markStart(CONST.TIMING.REPORT_INITIAL_RENDER); }