mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-06 01:44:21 +01:00
@@ -280,6 +280,7 @@ fn render_nav_body(
|
||||
note_cache: ctx.note_cache,
|
||||
zaps: ctx.zaps,
|
||||
pool: ctx.pool,
|
||||
job_pool: ctx.job_pool,
|
||||
};
|
||||
match top {
|
||||
Route::Timeline(kind) => render_timeline_route(
|
||||
@@ -292,6 +293,7 @@ fn render_nav_body(
|
||||
depth,
|
||||
ui,
|
||||
&mut note_context,
|
||||
&mut app.jobs,
|
||||
),
|
||||
|
||||
Route::Accounts(amr) => {
|
||||
@@ -348,6 +350,7 @@ fn render_nav_body(
|
||||
¬e,
|
||||
inner_rect,
|
||||
app.note_options,
|
||||
&mut app.jobs,
|
||||
)
|
||||
.id_source(id)
|
||||
.show(ui)
|
||||
@@ -384,6 +387,7 @@ fn render_nav_body(
|
||||
¬e,
|
||||
inner_rect,
|
||||
app.note_options,
|
||||
&mut app.jobs,
|
||||
)
|
||||
.id_source(id)
|
||||
.show(ui)
|
||||
@@ -405,6 +409,7 @@ fn render_nav_body(
|
||||
kp,
|
||||
inner_rect,
|
||||
app.note_options,
|
||||
&mut app.jobs,
|
||||
)
|
||||
.ui(&txn, ui);
|
||||
|
||||
@@ -424,8 +429,7 @@ fn render_nav_body(
|
||||
|
||||
Route::Search => {
|
||||
let id = ui.id().with(("search", depth, col));
|
||||
let navigating = app
|
||||
.columns_mut(ctx.accounts)
|
||||
let navigating = get_active_columns_mut(ctx.accounts, &mut app.decks_cache)
|
||||
.column(col)
|
||||
.router()
|
||||
.navigating;
|
||||
@@ -448,6 +452,7 @@ fn render_nav_body(
|
||||
search_buffer,
|
||||
&mut note_context,
|
||||
&ctx.accounts.get_selected_account().map(|a| (&a.key).into()),
|
||||
&mut app.jobs,
|
||||
)
|
||||
.show(ui, ctx.clipboard)
|
||||
.map(RenderNavAction::NoteAction)
|
||||
|
||||
Reference in New Issue
Block a user