Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
barreeeiroo committed Oct 24, 2023
1 parent 6993d7f commit a0a335c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1357,10 +1357,6 @@ public TreeItem buildComponentsTree(Integer view) {
return buildTree(view);
}

public Integer getView() {
return this.view;
}

// PropertyChangeListener implementation

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ public void onBrowserEvent(Event event) {
}
}

public SourceStructureExplorer() {
this(true);
}

/**
* Creates a new source structure explorer.
*/
public SourceStructureExplorer(boolean includeButtonPanel) {
public SourceStructureExplorer() {
// Initialize UI elements
tree = new EventCaptureTree(Ode.getImageBundle());
tree.setAnimationEnabled(true);
Expand Down Expand Up @@ -178,12 +174,8 @@ public void onClick(ClickEvent event) {

VerticalPanel panel = new VerticalPanel();
panel.add(scrollPanel);
// TODO([email protected]): With App Inventor's current layout, as of now this is the only place to
// render these buttons...
// if (includeButtonPanel) {
panel.add(new Label());
panel.add(buttonPanel);
// }
panel.add(new Label());
panel.add(buttonPanel);
panel.setCellHorizontalAlignment(buttonPanel, HorizontalPanel.ALIGN_CENTER);
initWidget(panel);
}
Expand Down

0 comments on commit a0a335c

Please sign in to comment.