select first account

closes: https://github.com/damus-io/notedeck/issues/119

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind 2024-07-02 13:12:20 -04:00
parent e9da25266a
commit a890c9e970

View File

@ -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(),