cleanup: remove account switcher widget

we don't need this anymore

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-09-16 16:35:29 -07:00
parent 52a7ed53ec
commit 79a447239a
6 changed files with 10 additions and 291 deletions

View File

@@ -38,9 +38,7 @@ fn open_thread(
threads: &mut Threads,
selected_note: &[u8; 32],
) -> Option<BarResult> {
{
router.route_to(Route::thread(NoteId::new(selected_note.to_owned())));
}
router.route_to(Route::thread(NoteId::new(selected_note.to_owned())));
let root_id = crate::note::root_note_id_from_selected_id(ndb, note_cache, txn, selected_note);
let thread_res = threads.thread_mut(ndb, txn, root_id);