ui: don't check terminal size in ThreadView

embed
Manos Pitsidianakis 2019-08-17 12:56:11 +03:00
parent c0dcd7254a
commit 2610e9c055
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 0 additions and 4 deletions

View File

@ -864,11 +864,7 @@ impl fmt::Display for ThreadView {
impl Component for ThreadView {
fn draw(&mut self, grid: &mut CellBuffer, area: Area, context: &mut Context) {
let total_rows = height!(area);
let total_cols = width!(area);
if total_rows < 24 || total_cols < 80 {
return;
}
/* If user has selected another mail to view, change to it */
if self.new_expanded_pos != self.expanded_pos {