bugfix: unsubscribe from timelines on deck deletion
Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -119,7 +119,12 @@ impl SwitchingAction {
|
||||
get_decks_mut(ctx.accounts, decks_cache).set_active(index)
|
||||
}
|
||||
DecksAction::Removing(index) => {
|
||||
get_decks_mut(ctx.accounts, decks_cache).remove_deck(index)
|
||||
get_decks_mut(ctx.accounts, decks_cache).remove_deck(
|
||||
index,
|
||||
timeline_cache,
|
||||
ctx.ndb,
|
||||
ctx.pool,
|
||||
);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user