From df357b250c0fcf4edf2681d4f114e199afb51899 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 20 May 2026 22:03:49 +0300 Subject: fix: clarify keybinding conflict warnings refs #154 --- src/app/input/sidebar.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/app/input/sidebar.rs') diff --git a/src/app/input/sidebar.rs b/src/app/input/sidebar.rs index 7491c9c1..dc192e50 100644 --- a/src/app/input/sidebar.rs +++ b/src/app/input/sidebar.rs @@ -192,7 +192,7 @@ impl AppState { } else if self.latest_release_notes_available { labels.push("what's new"); } - labels.push(if self.quit_detaches { "detach" } else { "quit" }); + labels.push("detach"); labels } @@ -578,7 +578,7 @@ mod tests { "keybinds", "reload config", "update ready", - "quit" + "detach" ] ); assert!(!app.state.should_quit); @@ -587,7 +587,7 @@ mod tests { #[test] fn persistence_mode_menu_surfaces_detach_action() { let mut app = app_for_mouse_test(); - app.state.quit_detaches = true; + app.state.detach_exits = false; let launcher = app.state.global_launcher_rect(); app.handle_mouse(mouse( @@ -625,7 +625,7 @@ mod tests { "keybinds", "reload config", "what's new", - "quit" + "detach" ] ); } -- cgit v1.2.3