diff options
Diffstat (limited to 'src/components/mail/view/thread.rs')
-rw-r--r-- | src/components/mail/view/thread.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/mail/view/thread.rs b/src/components/mail/view/thread.rs index 7d3e2c99..147ab6ff 100644 --- a/src/components/mail/view/thread.rs +++ b/src/components/mail/view/thread.rs @@ -748,7 +748,11 @@ impl ThreadView { let bottom_right = bottom_right!(area); let total_rows = height!(area); - let pager_ratio = context.runtime_settings.pager.pager_ratio; + let pager_ratio = *mailbox_settings!( + context[self.coordinates.0][&self.coordinates.1] + .pager + .pager_ratio + ); let mut bottom_entity_rows = (pager_ratio * total_rows) / 100; if bottom_entity_rows > total_rows { |