make selected accounts non optional

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-06-25 22:09:55 -04:00
parent 9cacb6bb69
commit 8e92a97a57
16 changed files with 136 additions and 196 deletions

View File

@@ -35,7 +35,7 @@ pub fn render_timeline_route(
&accounts.mutefun(),
note_context,
note_options,
&accounts.get_selected_account().map(|a| (&a.key).into()),
&(&accounts.get_selected_account().key).into(),
jobs,
)
.ui(ui);
@@ -64,7 +64,7 @@ pub fn render_timeline_route(
&accounts.mutefun(),
note_context,
note_options,
&accounts.get_selected_account().map(|a| (&a.key).into()),
&(&accounts.get_selected_account().key).into(),
jobs,
)
.ui(ui);
@@ -96,7 +96,7 @@ pub fn render_thread_route(
note_options,
&accounts.mutefun(),
note_context,
&accounts.get_selected_account().map(|a| (&a.key).into()),
&(&accounts.get_selected_account().key).into(),
jobs,
)
.id_source(col)