mirror of
https://github.com/damus-io/notedeck.git
synced 2024-09-19 13:16:34 +00:00
select first account
closes: https://github.com/damus-io/notedeck/issues/119 Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
parent
e9da25266a
commit
a890c9e970
@ -783,6 +783,11 @@ impl Damus {
|
|||||||
account_manager.add_account(key);
|
account_manager.add_account(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: pull currently selected account from settings
|
||||||
|
if account_manager.num_accounts() > 0 {
|
||||||
|
account_manager.select_account(0);
|
||||||
|
}
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
is_mobile,
|
is_mobile,
|
||||||
drafts: Drafts::default(),
|
drafts: Drafts::default(),
|
||||||
|
Loading…
Reference in New Issue
Block a user