From a890c9e97077e14d1ed45a7f9a1538826ebdf280 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Tue, 2 Jul 2024 13:12:20 -0400 Subject: [PATCH] select first account closes: https://github.com/damus-io/notedeck/issues/119 Signed-off-by: kernelkind --- src/app.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.rs b/src/app.rs index 01c10c6..6c97202 100644 --- a/src/app.rs +++ b/src/app.rs @@ -783,6 +783,11 @@ impl Damus { account_manager.add_account(key); } + // TODO: pull currently selected account from settings + if account_manager.num_accounts() > 0 { + account_manager.select_account(0); + } + Self { is_mobile, drafts: Drafts::default(),