commit 86d68e786a03517098cd69d047ac6439d885f4e0
parent 589a8a904cde4e23fc8e7250f52421bd66983aed
Author: kernelkind <kernelkind@gmail.com>
Date: Mon, 23 Jun 2025 16:30:40 -0400
threads: fix other replies not rendering in presence of one muted
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
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
@@ -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);