Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Apr 5, 2021
1 parent e238ea9 commit fe3b0b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/luwrain/app/contacts/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ final class App extends AppBase<Strings> implements MonoApp
this.storing = org.luwrain.pim.Connections.getContactsStoring(getLuwrain(), true);
this.foldersRoot = storing.getFolders().getRoot();
this.mainLayout = new MainLayout(this);
setAppName(getStrings().appName());
return true;
}

Expand Down
11 changes: 5 additions & 6 deletions src/main/java/org/luwrain/app/contacts/MainLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ final class MainLayout extends LayoutBase implements ListArea.ClickHandler
valuesActions = actions();
}


final Actions notesActions;
{
final EditArea.Params params = new EditArea.Params();
params.context = getControlContext();
params.name = app.getStrings().notesAreaName();
this.notesArea = new EditArea(params);
notesActions = actions();
final EditArea.Params params = new EditArea.Params();
params.context = getControlContext();
params.name = app.getStrings().notesAreaName();
this.notesArea = new EditArea(params);
notesActions = actions();
}

setAreaLayout(AreaLayout.LEFT_TOP_BOTTOM, foldersArea, foldersActions, valuesArea, valuesActions, notesArea, notesActions);
Expand Down

0 comments on commit fe3b0b2

Please sign in to comment.