Skip to content

Commit

Permalink
Removing using of AppBase.getDefaultAreaLayout()
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Apr 29, 2021
1 parent 3e2d7ef commit d2c218e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/main/java/org/luwrain/app/commander/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ enum Side {LEFT, RIGHT};
this.startFrom = null;
}

@Override public boolean onAppInit()
@Override public AreaLayout onAppInit()
{
this.sett = Settings.create(getLuwrain());
this.conv = new Conversations(this);
this.hooks = new Hooks(this);
this.mainLayout = new MainLayout(this);
this.operationsLayout = new OperationsLayout(this);
setAppName(getStrings().appName());
return true;
return mainLayout.getAreaLayout();
}

void runOperation(Operation op)
Expand Down Expand Up @@ -142,11 +142,6 @@ private OperationListener newOperationListener()
return true;
}

@Override public AreaLayout getDefaultAreaLayout()
{
return mainLayout.getAreaLayout();
}

@Override public void closeApp()
{
if (!allOperationsFinished())
Expand Down

0 comments on commit d2c218e

Please sign in to comment.