From 86d68e786a03517098cd69d047ac6439d885f4e0 Mon Sep 17 00:00:00 2001 From: kernelkind Date: Mon, 23 Jun 2025 16:30:40 -0400 Subject: [PATCH] threads: fix other replies not rendering in presence of one muted Signed-off-by: kernelkind --- crates/notedeck_columns/src/ui/thread.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/notedeck_columns/src/ui/thread.rs b/crates/notedeck_columns/src/ui/thread.rs index ec5a4302..36f96b92 100644 --- a/crates/notedeck_columns/src/ui/thread.rs +++ b/crates/notedeck_columns/src/ui/thread.rs @@ -177,7 +177,7 @@ fn show_notes( let selected_note_index = thread_notes.selected_index; let notes = &thread_notes.notes; - list.ui_custom_layout(ui, notes.len(), |ui, cur_index| 's: { + list.ui_custom_layout(ui, notes.len(), |ui, cur_index| { let note = ¬es[cur_index]; // should we mute the thread? we might not have it! @@ -191,7 +191,7 @@ fn show_notes( .is_some_and(|root_id| is_muted(¬e.note, root_id.bytes())); if muted { - break 's 0; + return 1; } let resp = note.show(note_context, zapping_acc, flags, jobs, ui);