mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 17:14:21 +01:00
bugfix: properly sub to new selected acc after removal of selected
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -94,7 +94,10 @@ impl SwitchingAction {
|
||||
.router_mut()
|
||||
.go_back();
|
||||
}
|
||||
AccountsAction::Remove(to_remove) => ctx.accounts.remove_account(to_remove),
|
||||
AccountsAction::Remove(to_remove) => {
|
||||
ctx.accounts
|
||||
.remove_account(to_remove, ctx.ndb, ctx.pool, ui_ctx);
|
||||
}
|
||||
},
|
||||
SwitchingAction::Columns(columns_action) => match *columns_action {
|
||||
ColumnsAction::Remove(index) => {
|
||||
|
||||
Reference in New Issue
Block a user