This commit is contained in:
Stephan Dilly 2021-08-19 22:28:57 +02:00
parent bc611bca52
commit 1faba1760c
2 changed files with 1 additions and 24 deletions

View File

@ -597,19 +597,7 @@ pub mod commands {
) )
.hide_help() .hide_help()
} }
pub fn select_status(
key_config: &SharedKeyConfig,
) -> CommandText {
CommandText::new(
format!(
"To files [{},{}]",
key_config.get_hint(key_config.tab_status),
key_config.get_hint(key_config.tab_log),
),
"focus/select file tree of staged or unstaged files",
CMD_GROUP_GENERAL,
)
}
pub fn abort_merge(key_config: &SharedKeyConfig) -> CommandText { pub fn abort_merge(key_config: &SharedKeyConfig) -> CommandText {
CommandText::new( CommandText::new(
format!( format!(

View File

@ -632,17 +632,6 @@ impl Component for Status {
self.visible || force_all, self.visible || force_all,
)); ));
out.push(
CommandInfo::new(
strings::commands::select_status(
&self.key_config,
),
true,
(self.visible && !focus_on_diff) || force_all,
)
.hidden(),
);
self.commands_nav(out, force_all); self.commands_nav(out, force_all);
} }