summaryrefslogtreecommitdiffstats
path: root/src/components/mail/listing.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-10-16 12:35:51 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-10-16 12:37:01 +0300
commit3949cecb7531332ea0448f5deedb6d539959b99e (patch)
tree0c845857a379db586b5545af0f88590d6889b323 /src/components/mail/listing.rs
parent1e7b40e6b38a6c5ac7c99a85681beaa77eed20f6 (diff)
mail/composer: add scrollbars
Diffstat (limited to 'src/components/mail/listing.rs')
-rw-r--r--src/components/mail/listing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/mail/listing.rs b/src/components/mail/listing.rs
index ba04d17e..0bfa2849 100644
--- a/src/components/mail/listing.rs
+++ b/src/components/mail/listing.rs
@@ -1211,7 +1211,7 @@ impl Component for Listing {
if shortcut!(k == shortcuts[Listing::DESCRIPTION]["new_mail"]) =>
{
let account_hash = context.accounts[self.cursor_pos.0].hash();
- let composer = Composer::new(account_hash, context);
+ let composer = Composer::with_account(account_hash, context);
context
.replies
.push_back(UIEvent::Action(Tab(New(Some(Box::new(composer))))));