Skip to content

Commit

Permalink
Indentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Jan 4, 2023
1 parent 0397e70 commit c0fa21e
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/main/java/org/luwrain/app/mail/MainLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class MainLayout extends LayoutBase implements TreeListArea.LeafClickHandl
switch(event.getCode())
{
case PROPERTIES:
return onFolderProps();
return onFolderProps();
}
return super.onSystemEvent(event);
}
Expand Down Expand Up @@ -124,7 +124,6 @@ messageArea, actions(
return true;
}


private boolean actNewFolder()
{
final MailFolder opened = foldersArea.opened();
Expand Down Expand Up @@ -173,7 +172,7 @@ private boolean onFolderProps()
return true;
}

@Override public boolean onListClick(ListArea area, int index, SummaryItem item)
@Override public boolean onListClick(ListArea area, int index, SummaryItem item)
{
final MailMessage message = item.message;
if (message == null)
Expand All @@ -189,7 +188,7 @@ private boolean onFolderProps()
return true;
}


private boolean actMarkMessage()
{
final SummaryItem item = summaryArea.selected();
Expand All @@ -201,25 +200,24 @@ private boolean actMarkMessage()
return true;
}

private boolean actUnmarkMessage()
private boolean actUnmarkMessage()
{
final SummaryItem item = summaryArea.selected();
if (item == null || item.message == null)
return false;
item.message.setState(MailMessage.State.READ);
app.getStoring().getMessages().update(item.message);
app.getStoring().getMessages().update(item.message);
app.setEventResponse(text(Sounds.SELECTED, app.getStrings().messageUnmarked()));
return true;
}


private boolean actSummaryReply()
{
final SummaryItem item = summaryArea.selected();
if (item == null || item.message == null)
return false;
app.getHooks().makeReply(item.message);
return true;
app.getHooks().makeReply(item.message);
return true;
}

private boolean actDeleteMessage()
Expand Down

0 comments on commit c0fa21e

Please sign in to comment.