Skip to content

Commit

Permalink
select first account
Browse files Browse the repository at this point in the history
closes: #119

Signed-off-by: kernelkind <[email protected]>
  • Loading branch information
kernelkind committed Jul 2, 2024
1 parent e9da252 commit a890c9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit a890c9e

Please sign in to comment.