Skip to content

Commit

Permalink
Fix pull request activity not scrolling to initial comment
Browse files Browse the repository at this point in the history
The content was being initialized twice because of callback in head reference loading. We forgot to remove this call after making head reference not required to display main content.
  • Loading branch information
Tunous committed Sep 23, 2017
1 parent 356b089 commit 2ccd480
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ protected Loader<LoaderResult<Reference>> onCreateLoader() {
protected void onResultReady(Reference result) {
mHeadReference = result;
mHasLoadedHeadReference = true;
showContentIfReady();
supportInvalidateOptionsMenu();
getSupportLoaderManager().destroyLoader(3);
}
Expand Down

0 comments on commit 2ccd480

Please # to comment.