mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-17 03:26:20 +00:00
ui: don't check terminal size in ThreadView
This commit is contained in:
parent
c0dcd7254a
commit
2610e9c055
@ -864,11 +864,7 @@ impl fmt::Display for ThreadView {
|
|||||||
|
|
||||||
impl Component for ThreadView {
|
impl Component for ThreadView {
|
||||||
fn draw(&mut self, grid: &mut CellBuffer, area: Area, context: &mut Context) {
|
fn draw(&mut self, grid: &mut CellBuffer, area: Area, context: &mut Context) {
|
||||||
let total_rows = height!(area);
|
|
||||||
let total_cols = width!(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 user has selected another mail to view, change to it */
|
||||||
if self.new_expanded_pos != self.expanded_pos {
|
if self.new_expanded_pos != self.expanded_pos {
|
||||||
|
Loading…
Reference in New Issue
Block a user