From 2610e9c05510f36474873e4b2f8eb1111c93d654 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sat, 17 Aug 2019 12:56:11 +0300 Subject: ui: don't check terminal size in ThreadView --- ui/src/components/mail/view/thread.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ui/src/components/mail/view') diff --git a/ui/src/components/mail/view/thread.rs b/ui/src/components/mail/view/thread.rs index a9b7e6f0..acb443ce 100644 --- a/ui/src/components/mail/view/thread.rs +++ b/ui/src/components/mail/view/thread.rs @@ -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 { -- cgit v1.2.3