Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed May 6, 2024
1 parent 349b26d commit 1623592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/luwrain/app/mail/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
public final class App extends AppBase<Strings> implements MonoApp
{
static final Logger log = LogManager.getLogger();

private Hooks hooks = null;
private MailStoring storing = null;
private Data data = null;
Expand All @@ -52,7 +52,6 @@ public App()
*/
this.conv = new Conv(this);
this.mainLayout = new MainLayout(this, data);
Log.debug("proba", "after main layout");
this.startingLayout = new StartingLayout(this);
setAppName(getStrings().appName());
/*
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/luwrain/app/mail/Hooks.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ final class Hooks
List<SummaryItem> organizeSummary(List<Message> messages)
{
final var m = new ArrayList<MessageObj>();
messages.forEach(mm -> m.add(new MessageObj(mm)));
messages.forEach(mm -> m.add(new MessageObj(mailObj, mm)));
final List<Object> res;
final var items = new ArrayList<SummaryItem>();
try {
Expand Down Expand Up @@ -78,7 +78,7 @@ List<SummaryItem> organizeSummary(List<Message> messages)
}
if (o instanceof MessageObj mm)
{
items.add(new SummaryItem(mm.getMessage()));
items.add(new SummaryItem(mm.message));
continue;
}
}
Expand Down

0 comments on commit 1623592

Please sign in to comment.