From 2fb9470ee62fba362b9bf8b4629de8aa7bed7f2f Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 3 Aug 2025 16:54:04 -0700 Subject: [PATCH] note/ui: fix reply line when replying in narrow mode Signed-off-by: William Casarin --- crates/notedeck_columns/src/nav.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/notedeck_columns/src/nav.rs b/crates/notedeck_columns/src/nav.rs index eed516c..741d14c 100644 --- a/crates/notedeck_columns/src/nav.rs +++ b/crates/notedeck_columns/src/nav.rs @@ -37,6 +37,7 @@ use notedeck::{ get_current_default_msats, tr, ui::is_narrow, Accounts, AppContext, NoteAction, NoteContext, RelayAction, }; +use notedeck_ui::NoteOptions; use tracing::error; /// The result of processing a nav response @@ -620,13 +621,16 @@ fn render_nav_body( let action = { let draft = app.drafts.reply_mut(note.id()); + let mut options = app.note_options; + options.set(NoteOptions::Wide, false); + let response = ui::PostReplyView::new( &mut note_context, poster, draft, ¬e, inner_rect, - app.note_options, + options, &mut app.jobs, col, )