@@ -723,11 +723,6 @@ export class ProjectView
723723 openBlocks ( blocksFile ?: pkg . File ) {
724724 if ( this . updatingEditorFile ) return ; // already transitioning
725725
726- // const blocksFileExplorer = !!pxt.appTarget.appTheme.blocksFileExplorer;
727- // if (blocksFileExplorer && !this.state.showFiles) {
728- // this.setState({ showFiles: true });
729- // }
730-
731726 const mainBlocks = pkg . mainEditorPkg ( ) . files [ pxt . MAIN_BLOCKS ] ;
732727 const targetBlocksFile = blocksFile || mainBlocks ;
733728
@@ -782,11 +777,6 @@ export class ProjectView
782777 async openBlocksAsync ( blocksFile ?: pkg . File ) {
783778 if ( this . updatingEditorFile ) return ; // already transitioning
784779
785- // const blocksFileExplorer = !!pxt.appTarget.appTheme.blocksFileExplorer;
786- // if (blocksFileExplorer && !this.state.showFiles) {
787- // this.setState({ showFiles: true });
788- // }
789-
790780 const epkg = pkg . mainEditorPkg ( ) ;
791781
792782 let mainBlocks = epkg . files [ pxt . MAIN_BLOCKS ] ;
@@ -1899,7 +1889,6 @@ export class ProjectView
18991889
19001890 this . setState ( {
19011891 home : false ,
1902- // showFiles: blocksFileExplorer ? true : (h.githubId ? true : false),
19031892 showFiles : h . githubId ? true : false ,
19041893 editorState : editorState ,
19051894 tutorialOptions : h . tutorial ,
0 commit comments