notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit a890c9e97077e14d1ed45a7f9a1538826ebdf280
parent e9da25266aea2fd1426b0c145ce8d23a7f3676e4
Author: kernelkind <kernelkind@gmail.com>
Date:   Tue,  2 Jul 2024 13:12:20 -0400

select first account

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

Signed-off-by: kernelkind <kernelkind@gmail.com>

Diffstat:
Msrc/app.rs | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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(),