ui: in threadview, skip entry list if length == 1

embed
Manos Pitsidianakis 2018-09-18 11:44:47 +03:00
parent b25e59370a
commit 3b4e4195d6
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 5 additions and 0 deletions

View File

@ -529,6 +529,11 @@ impl Component for ThreadView {
);
}
if self.entries.len() == 1 {
self.mailview.draw(grid, area, context);
return;
}
if total_cols >= self.content.size().0 + 74 {
self.draw_vert(grid, area, context);
} else {