commit 2fb9470ee62fba362b9bf8b4629de8aa7bed7f2f
parent af2c556700b21e1cb3b4329e57ca662262da03ad
Author: William Casarin <jb55@jb55.com>
Date: Sun, 3 Aug 2025 16:54:04 -0700
note/ui: fix reply line when replying in narrow mode
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git 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,
)