Skip to content

Commit

Permalink
fix: add screenTTI marker when splash hides
Browse files Browse the repository at this point in the history
  • Loading branch information
hurali97 committed Jan 16, 2024
1 parent 08cdb95 commit 452595f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -171,6 +173,7 @@ public void run() {
public void onDismiss(DialogInterface dialog) {
mDialog = null;
clearPromiseQueue();
RNPerformance.getInstance().mark("sidebar_loaded_end", false);
}
});

Expand Down
1 change: 0 additions & 1 deletion src/libs/actions/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 452595f

Please sign in to comment.